Lines Matching refs:is_callable
2 Test is_callable() function : usage variations - on objects
10 var_dump( is_callable($method) );
11 var_dump( is_callable($method, true) );
12 var_dump( is_callable($method, false) );
13 var_dump( is_callable($method, true, $callable_name) );
15 var_dump( is_callable($method, false, $callable_name) );
21 echo "\n*** Testing is_callable() on objects ***\n";
74 /* check is_callable() on static method */
75 echo "\n** Testing behavior of is_callable() on static methods **\n";
76 var_dump( is_callable('object_class::foo()', true) ); //expected: true
77 var_dump( is_callable('object_class::foo()') ); //expected: false
79 echo "\n** Testing normal operations of is_callable() on objects **\n";
119 *** Testing is_callable() on objects ***
121 ** Testing behavior of is_callable() on static methods **
125 ** Testing normal operations of is_callable() on objects **