Here is the rfc: https://wiki.php.net/rfc/error_handler_callback_parameters_passed_by_reference
Thanks to reeze for coding and putting it on the wiki. Regards Thomas reeze wrote on 23.01.2015 10:59: > Yeah, seem other want it it too, so I just updated the PR to allow the first > four parameters been passed by reference. > > > On 23 January 2015 at 16:23, Nicolas Grekas <nicolas.grekas+...@gmail.com > <mailto:nicolas.grekas+...@gmail.com> > wrote: >> > function myErrorHandler($errno, &$errstr, $errfile, $errline) {...} >> > >> >> It would be awesome to also pass $errfile and $errline by reference. This >> would allow mapping "compiled" source to real source code and have >> meaningful error file+line information. >> By "compiled", I mean e.g. inlined classes (like the bootstrap.cache.php >> file in Symfony), or preprocessed sources, etc. >> >> Nicolas > > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php