diff options
Diffstat (limited to 'Zend/tests/closure_042.phpt')
-rw-r--r-- | Zend/tests/closure_042.phpt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zend/tests/closure_042.phpt b/Zend/tests/closure_042.phpt index 7ab49d562d..dc849a5282 100644 --- a/Zend/tests/closure_042.phpt +++ b/Zend/tests/closure_042.phpt @@ -1,7 +1,5 @@ --TEST-- Closure 042: Binding an instance to a non-scoped non-static closures gives it a dummy scope ---SKIPIF-- -<?php if(!extension_loaded("reflection")) print "skip no reflection"; ?> --FILE-- <?php @@ -18,6 +16,7 @@ $rm = new ReflectionFunction($d); var_dump($rm->getClosureScopeClass()->name); //dummy sope is Closure echo "Done.\n"; +?> --EXPECTF-- object(stdClass)#%d (0) { } |