diff options
-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 |