Home
last modified time | relevance | path

Searched refs:Closure (Results 1 – 25 of 102) sorted by relevance

12345

/PHP-7.0/Zend/tests/
H A Dbug52193.phpt38 object(Closure)#%d (0) {
44 object(Closure)#%d (1) {
50 object(Closure)#%d (0) {
56 object(Closure)#%d (1) {
62 object(Closure)#%d (0) {
69 object(Closure)#%d (0) {
74 object(Closure)#%d (0) {
H A Dclosure_042.phpt2 Closure 042: Binding an instance to a non-scoped non-static closures gives it a dummy scope
12 var_dump($rm->getClosureScopeClass()->name); //dummy sope is Closure
18 var_dump($rm->getClosureScopeClass()->name); //dummy sope is Closure
25 string(7) "Closure"
28 string(7) "Closure"
H A Dclosure_032.phpt2 Closure 032: Testing Closure and debug_backtrace
54 [0] => Closure Object
69 #1 test(Closure Object ()) called at [%s:%d]
H A Dclosure_022.phpt2 Closure 022: Closure properties
11 Fatal error: Uncaught Error: Closure object cannot have properties in %sclosure_022.php:5
H A Dclosure_016.phpt2 Closure 016: closures and is_callable()
45 Closure::__invoke
47 Closure::__invoke
49 Closure::__invoke
51 Closure::__invoke
H A Dclosure_031.phpt2 Closure 031: Closure properties with custom error handlers
18 Error: Closure object cannot have properties
H A Dclosure_038.phpt2 Closure 038: Rebinding closures, change scope, different runtime type
34 $cb2 = Closure::bind($ca, $b, $b);
41 $cb2 = Closure::bind($ca, $b, 'B');
60 #0 %s(%d): Closure->{closure}()
65 #0 %s(%d): Closure->{closure}()
H A Dclosure_039.phpt2 Closure 039: Rebinding closures, change scope, same runtime type
34 $cb2 = Closure::bind($ca, $b, $b);
41 $cb2 = Closure::bind($ca, $b, 'B');
60 #0 %s(%d): Closure->{closure}()
65 #0 %s(%d): Closure->{closure}()
H A Dclosure_015.phpt2 Closure 015: converting to string/unicode
17 Error: Object of class Closure could not be converted to string at %sclosure_015.php(8)
19 Error: Object of class Closure could not be converted to string at %sclosure_015.php(10)
H A Dclosure_026.phpt2 Closure 026: Assigning a closure object to an array in $this
35 object(Closure)#%d (1) {
46 object(Closure)#%d (1) {
H A Dclosure_040.phpt2 Closure 040: Rebinding closures, bad arguments
39 Warning: Closure::bindTo() expects parameter 1 to be object, array given in %s on line 25
41 Warning: Closure::bindTo() expects at most 2 parameters, 3 given in %s on line %d
43 Warning: Closure::bindTo() expects at least 1 parameter, 0 given in %s on line %d
H A Dclosure_034.phpt2 Closure 033: Recursive var_dump on closures
12 object(Closure)#%d (1) {
H A Dclosure_023.phpt2 Closure 023: Closure declared in statically called method
H A Dclosure_010.phpt2 Closure 010: Closure calls itself
H A Dclosure_027.phpt2 Closure 027: Testing Closure type-hint
31 Fatal error: Uncaught TypeError: Argument 1 passed to test() must be an instance of Closure, instan…
H A Dbug75290.phpt12 object(Closure)#2 (1) {
19 object(Closure)#2 (1) {
H A Dclosure_024.phpt2 Closure 024: Clone the Closure object
H A D037.phpt2 Trying to access inexistent static property of Closure
19 Fatal error: Uncaught Error: Access to undeclared static property: Closure::$x in %s:%d
H A Dcall_user_func_003.phpt24 object(Closure)#%d (1) {
28 object(Closure)#%d (0) {
H A Dbug50146.phpt2 Bug #50146 (property_exists: Closure object cannot have properties)
20 Fatal error: Uncaught Error: Closure object cannot have properties in %s:%d
H A Dclosure_036.phpt2 Closure 036: Rebinding closures, keep calling scope
23 $cb2 = Closure::bind($ca, $b);
H A Dcall_user_func_005.phpt2 Passing Closure as parameter to an non-existent function
25 object(Closure)#%d (1) {
H A Dbug70321.phpt42 object(Closure)#%d (0) {
47 object(Closure)#%d (0) {
H A Dclosure_020.phpt2 Closure 020: Trying to access private property outside class
30 object(Closure)#%d (2) {
/PHP-7.0/ext/reflection/tests/
H A Dbug52057.phpt2 Bug #52057 (ReflectionClass fails on Closure class)
38 string(7) "Closure"
40 string(17) "Closure::__invoke"
45 string(7) "Closure"
47 string(17) "Closure::__invoke"
52 string(7) "Closure"
54 string(17) "Closure::__invoke"

Completed in 20 milliseconds

12345