diff options
author | Andrea Faulds <ajf@ajf.me> | 2014-08-18 14:51:40 +0100 |
---|---|---|
committer | Andrea Faulds <ajf@ajf.me> | 2014-08-18 14:51:40 +0100 |
commit | 594a768fef63201857fa92b2827d804f91bb5c8f (patch) | |
tree | 503dc22a97cd0978e56952bbb4c3bab62de8ae73 | |
parent | 56e6a45c4177ace96e0a527d538dbd194f7f2886 (diff) | |
download | php-git-594a768fef63201857fa92b2827d804f91bb5c8f.tar.gz |
Revert "Fixed closure::bindTo bad args test"
This reverts commit 668d0683cdad18eae818165b6bb12f7176ce21de.
-rw-r--r-- | Zend/tests/closure_040.phpt | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Zend/tests/closure_040.phpt b/Zend/tests/closure_040.phpt index a27595818c..a1b6cd604a 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 |