/PHP-8.0/Zend/tests/ |
H A D | bug43651.phpt | 9 var_dump(is_callable("\\\\")); 10 var_dump(is_callable("\\")); 11 var_dump(is_callable("x\\")); 12 var_dump(is_callable("\\x")); 13 var_dump(is_callable("x\\x")); 14 var_dump(is_callable("x\\\\")); 15 var_dump(is_callable("\\x")); 16 var_dump(is_callable("x\\\\x")); 17 var_dump(is_callable("cd")); 18 var_dump(is_callable("Test\\")); [all …]
|
H A D | closure_016.phpt | 2 Closure 016: closures and is_callable() 17 var_dump(is_callable($test, true, $name)); 19 var_dump(is_callable($test, false, $name)); 21 var_dump(is_callable(array($test,"__invoke"), true, $name)); 23 var_dump(is_callable(array($test,"__invoke"), false, $name)); 26 var_dump(is_callable($test, true, $name)); 28 var_dump(is_callable($test, false, $name)); 30 var_dump(is_callable(array($test,"__invoke"), true, $name)); 32 var_dump(is_callable(array($test,"__invoke"), false, $name));
|
H A D | bug63111.phpt | 2 Bug #63111 (is_callable() lies for abstract static method) 16 var_dump(is_callable(array("Foo", "bar"))); 17 var_dump(is_callable("Foo::bar")); 18 var_dump(is_callable(array("MyInterface", "bar"))); 19 var_dump(is_callable("MyInterface::bar")); 20 var_dump(is_callable(array("Bar", "foo"))); 21 var_dump(is_callable("Bar::foo"));
|
H A D | bug29210.phpt | 19 if (is_callable(array($this,'test_func1'))) { 24 if (is_callable(array($this,'test_func2'))) { 29 if (is_callable(array('test_class','test_func3'))) { 34 if (is_callable(array('test_class','test_func4'))) { 44 if (is_callable(array($this,'test_func1'))) { 49 if (is_callable(array($this,'test_func2'))) { 54 if (is_callable(array('test_class','test_func3'))) { 69 if (is_callable(array($object,'test_func1'))) { 74 if (is_callable(array($object,'test_func2'))) { 79 if (is_callable(array('test_class','test_func3'))) { [all …]
|
H A D | lsb_013.phpt | 2 ZE2 Late Static Binding is_callable() and static::method() 8 var_dump(is_callable("static::ok")); 9 var_dump(is_callable(array("static","ok")));
|
H A D | bug34678.phpt | 2 Bug #34678 (__call(), is_callable() and static methods) 17 if (is_callable(array('B', 'foo'))) { 20 if (is_callable(array('A', 'foo'))) {
|
H A D | bug48899.phpt | 2 Bug #48899 (is_callable returns true even if method does not exist in parent class) 10 var_dump(is_callable(array($this, 'parent::testIsCallable'))); 13 var_dump(is_callable(array($this, 'static::testIsCallable2')));
|
H A D | bug65108.phpt | 2 Bug #65108 (is_callable() triggers Fatal Error) 12 $isCallable = is_callable(array(new C, 'f')); 23 $isCallable = is_callable(array('E', 'f'));
|
H A D | closure_001.phpt | 14 var_dump(is_callable($lambda1)); 15 var_dump(is_callable($lambda2));
|
H A D | is_callable_trampoline_uaf.phpt | 2 is_callable() with trampoline should not caused UAF 9 var_dump(is_callable(array('parent', 'foo')));
|
H A D | bug71622.phpt | 20 var_dump(is_callable("self::$method"));
|
H A D | bug54910.phpt | 17 if (is_callable($call)) {
|
/PHP-8.0/ext/standard/tests/general_functions/ |
H A D | is_callable_basic1.phpt | 2 Test is_callable() function : usage variations - defined functions 9 var_dump( is_callable($func) ); //given only $var argument 10 var_dump( is_callable($func, TRUE) ); //given $var and $syntax argument 11 var_dump( is_callable($func, TRUE, $callable_name) ); 13 var_dump( is_callable($func, FALSE) ); //given $var and $syntax argument 14 var_dump( is_callable($func, FALSE, $callable_name) ); 20 echo "\n*** Testing is_callable() on defined functions ***\n"; 55 *** Testing is_callable() on defined functions ***
|
H A D | is_callable_variation2.phpt | 2 Test is_callable() function : usage variations - on invalid function names 9 var_dump( is_callable($func) ); //given only $var argument 10 var_dump( is_callable($func, TRUE) ); //given $var and $syntax argument 11 var_dump( is_callable($func, TRUE, $callable_name) ); 13 var_dump( is_callable($func, FALSE) ); //given $var and $syntax argument 14 var_dump( is_callable($func, FALSE, $callable_name) ); 20 echo "\n*** Testing is_callable() on invalid function names ***\n"; 52 *** Testing is_callable() on invalid function names ***
|
H A D | is_callable_variation1.phpt | 2 Test is_callable() function : usage variations - undefined functions 9 var_dump( is_callable($func) ); //given only $var argument 10 var_dump( is_callable($func, TRUE) ); //given $var and $syntax argument 11 var_dump( is_callable($func, TRUE, $callable_name) ); 13 var_dump( is_callable($func, FALSE) ); //given $var and $syntax argument 14 var_dump( is_callable($func, FALSE, $callable_name) ); 20 echo "\n*** Testing is_callable() on undefined functions ***\n"; 50 *** Testing is_callable() on undefined functions ***
|
H A D | bug47857.phpt | 2 Bug #47851 (is_callable throws fatal error) 10 var_dump(is_callable(array('foo','bar'))); 16 var_dump(is_callable(array('Exception','getMessage')));
|
H A D | is_callable_abstract_method.phpt | 2 is_callable() on abstract method via object should return false 15 var_dump(is_callable($foo));
|
H A D | is_callable_anon.phpt | 2 Test is_callable() function : usage variations - anonymous class method 9 if (is_callable([$this, 'f'], false, $fname)) {
|
H A D | is_callable_basic2.phpt | 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 */ 119 *** Testing is_callable() on objects *** 121 ** Testing behavior of is_callable() on static methods ** [all …]
|
/PHP-8.0/ext/standard/tests/ |
H A D | bug75220.phpt | 2 Bug #75220 (is_callable crash for 'parent') 15 var_dump(is_callable('parent::foo')); 16 var_dump(is_callable(array('parent', 'foo')));
|
/PHP-8.0/ext/ffi/tests/ |
H A D | bug78543.phpt | 2 Bug #78543 (is_callable() on FFI\CData throws Exception) 9 var_dump(is_callable($test));
|
/PHP-8.0/ext/opcache/tests/opt/ |
H A D | block_pass_001.phpt | 14 return is_callable($callback) ? $callback : function (...$args) use ($callback) {
|
/PHP-8.0/Zend/tests/traits/ |
H A D | bug76773.phpt | 12 if (\is_callable(array('parent', __FUNCTION__))) {
|
/PHP-8.0/ext/opcache/tests/ |
H A D | bug68104.phpt | 13 var_dump(is_callable("dl"));
|
H A D | bug76275.phpt | 15 if (!is_callable('random_bytes')) {
|