]> granicus.if.org Git - php/commitdiff
Revert "Fix closure tests using ReflectionType::__toString()"
authorAaron Piotrowski <aaron@trowski.com>
Fri, 19 Aug 2016 15:05:16 +0000 (10:05 -0500)
committerAaron Piotrowski <aaron@trowski.com>
Sun, 21 Aug 2016 04:26:01 +0000 (23:26 -0500)
This reverts commit 6fcedc96fbabc2787e18f904347f7a1429992c89.

Zend/tests/bug69802.phpt
Zend/tests/closures/closure_from_callable_reflection.phpt

index 5f851ae81ba1410220058a388b6d51baa55256f2..ed0430f6d20017ec6be80185889b4b8bb9a6356d 100644 (file)
@@ -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] {
index f48acfb8eb0422b892c53595855e4570ce805994..48e1e77670a33e4c71b1ecbffeb80b3e034a16f1 100644 (file)
@@ -36,11 +36,11 @@ foreach ($callables as $callable) {
 
 ?>
 --EXPECTF--
-\Bar
+Bar
 int
-\Bar
+Bar
 int
-\Bar
+Bar
 int
-\Bar
+Bar
 int