Return to bug43426.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests |
1.1 ! misho 1: --TEST-- ! 2: Bug #43426 (crash on nested call_user_func calls) ! 3: --FILE-- ! 4: <?php ! 5: $c = 1; // doesn't matter ! 6: call_user_func("foo2", $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, ! 7: $c, ! 8: $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, ! 9: $c, ! 10: $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, ! 11: $c, ! 12: $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, ! 13: $c, ! 14: $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, ! 15: $c, ! 16: $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, ! 17: $c, ! 18: $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, ! 19: $c, ! 20: $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, ! 21: $c, ! 22: $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, ! 23: $c, ! 24: $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, ! 25: $c, ! 26: $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, ! 27: $c, ! 28: $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, ! 29: $c, ! 30: $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, ! 31: $c, ! 32: $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, ! 33: $c, ! 34: $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c, $c); ! 35: function foo2($d) {} ! 36: echo "ok\n"; ! 37: ?> ! 38: --EXPECT-- ! 39: ok