summaryrefslogtreecommitdiff
path: root/Zend/tests/bug32290.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug32290.phpt')
-rwxr-xr-xZend/tests/bug32290.phpt35
1 files changed, 0 insertions, 35 deletions
diff --git a/Zend/tests/bug32290.phpt b/Zend/tests/bug32290.phpt
deleted file mode 100755
index f754275ccf..0000000000
--- a/Zend/tests/bug32290.phpt
+++ /dev/null
@@ -1,35 +0,0 @@
---TEST--
-Bug #32290 (calling call_user_func_array() ends in infinite loop within child class)
---FILE--
-<?php
-
-class TestA
-{
- public function doSomething($i)
- {
- echo __METHOD__ . "($this)\n";
- return --$i;
- }
-}
-
-class TestB extends TestA
-{
- public function doSomething($i)
- {
- echo __METHOD__ . "($this)\n";
- $i++;
- if ($i >= 5) return 5;
- return call_user_func_array(array("TestA","doSomething"), array($i));
- }
-}
-
-$x = new TestB();
-var_dump($x->doSomething(1));
-
-?>
-===DONE===
---EXPECTF--
-TestB::doSomething(Object id #%d)
-TestA::doSomething(Object id #%d)
-int(1)
-===DONE===