diff options
author | Andrea Faulds <ajf@ajf.me> | 2014-08-03 14:48:14 +0100 |
---|---|---|
committer | Andrea Faulds <ajf@ajf.me> | 2014-08-03 14:48:14 +0100 |
commit | 668d0683cdad18eae818165b6bb12f7176ce21de (patch) | |
tree | 6a95c0b889ec07801e1462568f9c6d4aec287da2 | |
parent | a748f454a8d4ab84ba89f7d87436fb7953d3a29e (diff) | |
download | php-git-668d0683cdad18eae818165b6bb12f7176ce21de.tar.gz |
Fixed closure::bindTo bad args test
-rw-r--r-- | Zend/tests/closure_040.phpt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Zend/tests/closure_040.phpt b/Zend/tests/closure_040.phpt index a1b6cd604a..a27595818c 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 |