1234567891011121314151617181920 |
- --TEST--
- Bug
- --FILE--
- <?php
- namespace Foo;
- set_error_handler(function ($type, $msg) {
- throw new \Exception($msg);
- });
- call_user_func(function (array &$ref) {var_dump("xxx");}, 'not_an_array_variable');
- ?>
- --EXPECTF--
- Fatal error: Uncaught Exception: Foo\{closure}(): Argument
- Stack trace:
- thrown in %sbug74164.php on line %d
|