diff options
author | Dmitry Stogov <dmitry@php.net> | 2008-01-24 09:47:10 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2008-01-24 09:47:10 +0000 |
commit | 9b21430ee668f4c8fdf634db59946cee697c112d (patch) | |
tree | e8f0f34770184924c7496b2d8343b3815d9cf559 /Zend/tests/bug43426.phpt | |
parent | 8219ca044fcba3e7c7611c77c4b58cb88a9eadfe (diff) | |
download | php-git-9b21430ee668f4c8fdf634db59946cee697c112d.tar.gz |
Fixed bug #43426 (crash on nested call_user_func() calls)
Diffstat (limited to 'Zend/tests/bug43426.phpt')
-rw-r--r-- | Zend/tests/bug43426.phpt | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Zend/tests/bug43426.phpt b/Zend/tests/bug43426.phpt new file mode 100644 index 0000000000..73c38df2ba --- /dev/null +++ b/Zend/tests/bug43426.phpt @@ -0,0 +1,39 @@ +--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 |