com php-src: Revert "Fix closure tests using ReflectionType: :__toString()": Zend/tests/bug69802 .phpt Zend/tests/closures/closure_from_callable_refle
ction.phpt
| From: | Aaron Piotrowski | Date: | Sun, 21 Aug 2016 04:26:01 +0000 |
| Subject: | com php-src: Revert "Fix closure tests using ReflectionType: :__toString()": Zend/tests/bug69802 .phpt Zend/tests/closures/closure_from_callable_refle ction.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94020@lists.php.net to get a copy of this message | ||
Commit: 08c5d77027cbd65abe8dab6149d4de91daabb9c7
Author: Aaron Piotrowski <aaron@trowski.com> Fri, 19 Aug 2016 10:05:16 -0500
Parents: c9ee0cb2026ccf734c5b09b1b1643f32cd4dad47
Branches: PHP-7.1
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=08c5d77027cbd65abe8dab6149d4de91daabb9c7
Log:
Revert "Fix closure tests using ReflectionType::__toString()"
This reverts commit 6fcedc96fbabc2787e18f904347f7a1429992c89.
Changed paths:
M Zend/tests/bug69802.phpt
M Zend/tests/closures/closure_from_callable_reflection.phpt
Diff:
diff --git a/Zend/tests/bug69802.phpt b/Zend/tests/bug69802.phpt
index 5f851ae..ed0430f 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 f48acfb..48e1e77 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