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> 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 >