com php-src: Fixed closure::bindTo bad args test: Zend/tests/cl osure_040.phpt
| From: | Tjerk Anne Meesters | Date: | Sun, 03 Aug 2014 13:48:14 +0000 |
| Subject: | com php-src: Fixed closure::bindTo bad args test: Zend/tests/cl osure_040.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81167@lists.php.net to get a copy of this message | ||
Commit: 668d0683cdad18eae818165b6bb12f7176ce21de
Author: Andrea Faulds <ajf@ajf.me> Sun, 3 Aug 2014 14:48:14 +0100
Parents: a748f454a8d4ab84ba89f7d87436fb7953d3a29e
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=668d0683cdad18eae818165b6bb12f7176ce21de
Log:
Fixed closure::bindTo bad args test
Changed paths:
M Zend/tests/closure_040.phpt
Diff:
diff --git a/Zend/tests/closure_040.phpt b/Zend/tests/closure_040.phpt
index a1b6cd6..a275958 100644
--- a/Zend/tests/closure_040.phpt
+++ b/Zend/tests/closure_040.phpt
@@ -32,14 +32,16 @@ $cas->bindTo($a, 'A');
?>
--EXPECTF--
-Notice: Array to string conversion in %s on line %d
+Notice: Array to string conversion in %s on line 24
-Warning: Class 'Array' not found in %s on line %d
+Warning: Class 'Array' not found in %s on line 24
Warning: Closure::bindTo() expects parameter 1 to be object, array given in %s on line 25
-Warning: Closure::bindTo() expects at most 2 parameters, 3 given in %s on line %d
+Notice: Array to string conversion in %s on line 26
-Warning: Closure::bindTo() expects at least 1 parameter, 0 given in %s on line %d
+Warning: Class 'Array' not found in %s on line 26
-Warning: Cannot bind an instance to a static closure in %s on line %d
+Warning: Closure::bindTo() expects at least 1 parameter, 0 given in %s on line 27
+
+Warning: Cannot bind an instance to a static closure in %s on line 28
\ No newline at end of file