PHP debugger in NetBeans supports both function breakpoints - 'call' and 'return'.
Breakpoint for exit from function (Xdebug type 'return' ) can't be created, because it is now disabled in New Breakpoint dialog.
This commit disabled type selection: https://github.com/emilianbold/netbeans-releases/commit/90e2eb44c419469688b33a1a1eb88bde783abc6a
NetBeans bug record https://bz.apache.org/netbeans/show_bug.cgi?id=132062 states that it is because of bug in Xdebug.
I was able find related Xdebug issue https://bugs.xdebug.org/view.php?id=378
Xdebug issue was marked marked as fixed/not reproducible in year 2009.
So I think it is now safe to enable 'return' breakpoints again.