summaryrefslogtreecommitdiff
path: root/Zend/tests/methods-on-non-objects-nested-calls.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/methods-on-non-objects-nested-calls.phpt')
-rw-r--r--Zend/tests/methods-on-non-objects-nested-calls.phpt10
1 files changed, 0 insertions, 10 deletions
diff --git a/Zend/tests/methods-on-non-objects-nested-calls.phpt b/Zend/tests/methods-on-non-objects-nested-calls.phpt
index c92b0cb034..e1fee5153d 100644
--- a/Zend/tests/methods-on-non-objects-nested-calls.phpt
+++ b/Zend/tests/methods-on-non-objects-nested-calls.phpt
@@ -11,8 +11,6 @@ set_error_handler(function($code, $message) {
});
$x= null;
-$ref= 'nested';
-$func= function() { return nested(); };
var_dump($x->method(nested()));
var_dump($x->method(nested(), nested()));
var_dump($x->method(nested(nested())));
@@ -22,8 +20,6 @@ var_dump($x->method($x->nested(nested())));
var_dump($x->method($x->nested($x->deep())));
var_dump($x->method($x->nested(nested($x->deep()))));
var_dump($x->method(nested(nested($x->nested()))));
-var_dump($x->method($ref()));
-var_dump($x->method($func()));
echo "Alive\n";
?>
--EXPECTF--
@@ -45,10 +41,4 @@ Called #8
NULL
Called #9
NULL
-Called #10
-NULL
-Called #11
-NULL
-Called #12
-NULL
Alive