Bug #72102 [Opn]: Segfault when using func_get_args as error handler
Edit report at https://bugs.php.net/bug.php?id=72102&edit=1
ID: 72102
Updated by: krakjoe@php.net
Reported by: nikic@php.net
Summary: Segfault when using func_get_args as error handler
Status: Open
Type: Bug
Package: Scripting Engine problem
PHP Version: 7.0.6RC1
-Assigned To:
+Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
Just assigning to you so that this is not forgotten when the solution is merged.
Previous Comments:
------------------------------------------------------------------------
[2016-04-25 16:45:15] nikic@php.net
Description:
------------
<?php
set_error_handler('func_get_args');
function test($a) {
echo $undef;
}
test(1);
Don't ask me what the expected result should be, but it shouldn't crash...
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72102&edit=1
Thread (5 messages)