source: src/router/php7/Zend/tests/bug72107.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 6 weeks ago

update php

File size: 304 bytes
Line 
1--TEST--
2Bug #72107: Segfault when using func_get_args as error handler
3--FILE--
4<?php
5set_error_handler('func_get_args');
6function test($a) {
7    echo $undef;
8}
9test(1);
10?>
11--EXPECTF--
12Warning: Cannot call func_get_args() dynamically in %s on line %d
13
14Notice: Undefined variable: undef in %s on line %d
Note: See TracBrowser for help on using the repository browser.