com php-src: Revert "Fixed closure::bindTo bad args test": Zend/tests/closure_040.phpt

From: Date: Mon, 18 Aug 2014 13:51:40 +0000
Subject: com php-src: Revert "Fixed closure::bindTo bad args test": Zend/tests/closure_040.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-81152@lists.php.net to get a copy of this message
Commit: 594a768fef63201857fa92b2827d804f91bb5c8f Author: Andrea Faulds <ajf@ajf.me> Mon, 18 Aug 2014 14:51:40 +0100 Parents: 56e6a45c4177ace96e0a527d538dbd194f7f2886 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=594a768fef63201857fa92b2827d804f91bb5c8f Log: Revert "Fixed closure::bindTo bad args test" This reverts commit 668d0683cdad18eae818165b6bb12f7176ce21de. Changed paths: M Zend/tests/closure_040.phpt Diff: diff --git a/Zend/tests/closure_040.phpt b/Zend/tests/closure_040.phpt index a275958...a1b6cd6 100644 --- a/Zend/tests/closure_040.phpt +++ b/Zend/tests/closure_040.phpt @@ -32,16 +32,14 @@ $cas->bindTo($a, 'A'); ?> --EXPECTF-- -Notice: Array to string conversion in %s on line 24 +Notice: Array to string conversion in %s on line %d -Warning: Class 'Array' not found in %s on line 24 +Warning: Class 'Array' not found in %s on line %d Warning: Closure::bindTo() expects parameter 1 to be object, array given in %s on line 25 -Notice: Array to string conversion in %s on line 26 +Warning: Closure::bindTo() expects at most 2 parameters, 3 given in %s on line %d -Warning: Class 'Array' not found in %s on line 26 +Warning: Closure::bindTo() expects at least 1 parameter, 0 given 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 +Warning: Cannot bind an instance to a static closure in %s on line %d

« previous php.cvs (#81152) next »