mirror of
https://github.com/php/php-src.git
synced 2024-12-12 03:15:29 +08:00
40 lines
1.2 KiB
PHP
40 lines
1.2 KiB
PHP
--TEST--
|
|
Bug #43426 (crash on nested call_user_func calls)
|
|
--FILE--
|
|
<?php
|
|
$c = 1; // doesn't matter
|
|
call_user_func("foo2", $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c,
|
|
$c,
|
|
$c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c,
|
|
$c,
|
|
$c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c,
|
|
$c,
|
|
$c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c,
|
|
$c,
|
|
$c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c,
|
|
$c,
|
|
$c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c,
|
|
$c,
|
|
$c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c,
|
|
$c,
|
|
$c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c,
|
|
$c,
|
|
$c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c,
|
|
$c,
|
|
$c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c,
|
|
$c,
|
|
$c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c,
|
|
$c,
|
|
$c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c,
|
|
$c,
|
|
$c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c,
|
|
$c,
|
|
$c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c,
|
|
$c,
|
|
$c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c);
|
|
function foo2($d) {}
|
|
echo "ok\n";
|
|
?>
|
|
--EXPECT--
|
|
ok
|