From ff66e597314f39e7015fb7c238c29d8f6e02dcab Mon Sep 17 00:00:00 2001 From: Timm Friebe Date: Sun, 6 Jul 2014 14:58:20 +0200 Subject: Support nested static calls --- ...methods-on-non-objects-nested-calls-static.phpt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 Zend/tests/methods-on-non-objects-nested-calls-static.phpt (limited to 'Zend/tests/methods-on-non-objects-nested-calls-static.phpt') diff --git a/Zend/tests/methods-on-non-objects-nested-calls-static.phpt b/Zend/tests/methods-on-non-objects-nested-calls-static.phpt new file mode 100755 index 0000000000..9e969b7d68 --- /dev/null +++ b/Zend/tests/methods-on-non-objects-nested-calls-static.phpt @@ -0,0 +1,22 @@ +--TEST-- +Catch method calls on non-objects with nested calls to static methods +--FILE-- +method(Nesting::nested())); +echo "Alive\n"; +?> +--EXPECTF-- +Called #1 +NULL +Alive -- cgit v1.2.1