mirror of
https://github.com/php/php-src.git
synced 2026-04-26 17:38:14 +02:00
Fixed closure::bindTo bad args test
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user