diff options
author | Aaron Piotrowski <aaron@trowski.com> | 2016-08-16 13:05:51 -0500 |
---|---|---|
committer | Aaron Piotrowski <aaron@trowski.com> | 2016-08-16 13:05:51 -0500 |
commit | 6fcedc96fbabc2787e18f904347f7a1429992c89 (patch) | |
tree | 9aed4484246dc2c789a8aeee3971f59e4dd3e28a | |
parent | 20fdd47921f423728b409fd0ae0106dab9c34573 (diff) | |
download | php-git-6fcedc96fbabc2787e18f904347f7a1429992c89.tar.gz |
Fix closure tests using ReflectionType::__toString()
-rw-r--r-- | Zend/tests/bug69802.phpt | 2 | ||||
-rw-r--r-- | Zend/tests/closures/closure_from_callable_reflection.phpt | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Zend/tests/bug69802.phpt b/Zend/tests/bug69802.phpt index ed0430f6d2..5f851ae81b 100644 --- a/Zend/tests/bug69802.phpt +++ b/Zend/tests/bug69802.phpt @@ -17,7 +17,7 @@ object(ReflectionClass)#4 (1) { string(8) "stdClass" } Parameter #0 [ <required> stdClass $x ] -stdClass +\stdClass Method [ <internal, prototype Closure> public method __invoke ] { - Parameters [1] { diff --git a/Zend/tests/closures/closure_from_callable_reflection.phpt b/Zend/tests/closures/closure_from_callable_reflection.phpt index 48e1e77670..f48acfb8eb 100644 --- a/Zend/tests/closures/closure_from_callable_reflection.phpt +++ b/Zend/tests/closures/closure_from_callable_reflection.phpt @@ -36,11 +36,11 @@ foreach ($callables as $callable) { ?> --EXPECTF-- -Bar +\Bar int -Bar +\Bar int -Bar +\Bar int -Bar +\Bar int |