Hi all!
we'd like to initiate a vote on Allow error_handler callback parameters to be passed by reference:
https://wiki.php.net/rfc/error_handler_callback_parameters_passed_by_reference
We are proposing to enable error_handler callback parameters to be passed by reference to be able to append additional data to error messages. The implementation includes the first four callback parameters to be passed by reference. Thanks to reeze for providing the patch and the tests.
The vote has three choices:
- Allow $errstr parameter to be passed by reference
- Allow $errno, $errstr, $errfile, $fileno parameter to be passed by reference
- No, Allow none of the parameter be a reference parameter
and closes in 2 weeks from now.
Thanks,
Thomas
Hi all,
the rfc was declined:
- Allow $errstr parameter to be passed by reference: 3
- Allow $errno, $errstr, $errfile, $fileno parameter to be passed by reference: 1
- No, Allow none of the parameter be a reference parameter: 16
Regards
Thomas
Thomas Bley wrote on 13.02.2015 21:51:
Hi all!
we'd like to initiate a vote on Allow error_handler callback parameters to be
passed by reference:
https://wiki.php.net/rfc/error_handler_callback_parameters_passed_by_referenceWe are proposing to enable error_handler callback parameters to be passed by
reference to be able to append additional data to error messages. The
implementation includes the first four callback parameters to be passed by
reference. Thanks to reeze for providing the patch and the tests.The vote has three choices:
- Allow $errstr parameter to be passed by reference
- Allow $errno, $errstr, $errfile, $fileno parameter to be passed by reference
- No, Allow none of the parameter be a reference parameter
and closes in 2 weeks from now.Thanks,
Thomas