/PHP-7.3/Zend/tests/ |
H A D | method_exists_002.phpt | 2 Testing method_exists() 40 var_dump(method_exists('baz', 'stat_a')); 41 var_dump(method_exists('baz', 'stat_b')); 42 var_dump(method_exists('baz', 'stat_c')); 44 var_dump(method_exists('baz', 'stat_a2')); 45 var_dump(method_exists('baz', 'stat_b2')); 46 var_dump(method_exists('baz', 'stat_c2')); 50 var_dump(method_exists($baz, 'method_a')); 54 var_dump(method_exists($baz, 'stat_a')); 55 var_dump(method_exists($baz, 'stat_b')); [all …]
|
H A D | method_exists.phpt | 2 method_exists() segfaults 6 var_dump(method_exists('testclass','testfunc')); 7 var_dump(method_exists('testclass','nonfunc'));
|
H A D | bug32429.phpt | 2 Bug #32429 (method_exists() always return TRUE if __call method exists) 8 var_dump(method_exists($this, 'test')); 10 if (method_exists($this, 'test')) {
|
H A D | bug52060.phpt | 2 Bug #52060 (Memory leak when passing a closure to method_exists()) 8 var_dump(method_exists($closure, '__invoke')); // true
|
H A D | bug76901.phpt | 2 Bug #76901: method_exists on SPL iterator passthrough method corrupts memory 9 if (method_exists($it, 'offsetGet')) {
|
H A D | bug50810.phpt | 26 return method_exists($this, 'foo'); 37 var_dump(method_exists($example, 'propertyFooExists'));
|
/PHP-7.3/ext/standard/tests/class_object/ |
H A D | method_exists_error_001.phpt | 2 Test method_exists() function : error conditions - wrong number of args 5 /* Prototype : proto bool method_exists(object object, string method) 11 echo "*** Testing method_exists() : error conditions ***\n"; 14 //Test method_exists with one more than the expected number of arguments 19 var_dump( method_exists($object, $method, $extra_arg) ); 21 // Testing method_exists with one less than the expected number of arguments 24 var_dump( method_exists($object) ); 29 *** Testing method_exists() : error conditions *** 31 -- Testing method_exists() function with more than expected no. of arguments -- 33 Warning: method_exists() expects exactly 2 parameters, 3 given in %s on line 16 [all …]
|
H A D | method_exists_variation_003.phpt | 2 Test method_exists() function : variation - Case sensitivity 5 /* Prototype : proto bool method_exists(object object, string method) 11 echo "*** Testing method_exists() : variation ***\n"; 17 var_dump(method_exists(new casesensitivitytest, 'myMetHOD')); 18 var_dump(method_exists('casesensiTivitytest', 'myMetHOD')); 23 *** Testing method_exists() : variation ***
|
H A D | method_exists_variation_002.phpt | 2 Test method_exists() function : usage variations - unexpected type for arg 2 5 /* Prototype : proto bool method_exists(object object, string method) 20 echo "*** Testing method_exists() : usage variations ***\n"; 80 var_dump( method_exists($object, $value) ); 86 *** Testing method_exists() : usage variations *** 119 Error: 2 - method_exists() expects parameter 2 to be string, array given, %s(77) 124 Error: 2 - method_exists() expects parameter 2 to be string, array given, %s(77) 129 Error: 2 - method_exists() expects parameter 2 to be string, array given, %s(77) 134 Error: 2 - method_exists() expects parameter 2 to be string, array given, %s(77) 139 Error: 2 - method_exists() expects parameter 2 to be string, array given, %s(77) [all …]
|
H A D | method_exists_basic_002.phpt | 2 method_exists() on internal classes 13 var_dump(method_exists("exception", "getmessage")); 15 var_dump(method_exists("stdclass", "nonexistent")); 19 var_dump(method_exists(new exception, "getmessage")); 21 var_dump(method_exists(new stdclass, "nonexistent"));
|
H A D | method_exists_basic_003.phpt | 2 method_exists() on non-existent class, with __autoload(). 15 var_dump(method_exists('UndefC', 'func'));
|
H A D | method_exists_variation_001.phpt | 2 Test method_exists() function : usage variations - unexpected type for arg 1 5 /* Prototype : proto bool method_exists(object object, string method) 20 echo "*** Testing method_exists() : usage variations ***\n"; 81 var_dump( method_exists($value, $method) ); 87 *** Testing method_exists() : usage variations ***
|
H A D | method_exists_basic_001.phpt | 2 method_exists() on userspace classes; static & non-static methods with various visibilities. 40 var_dump(method_exists("C", $method)); 47 var_dump(method_exists($myC, $method));
|
/PHP-7.3/ext/mysqli/tests/ |
H A D | bug32490.phpt | 7 var_dump(method_exists("mysqli", "mysqli")); 8 var_dump(method_exists("mysqli", "__construct"));
|
H A D | bug36802.phpt | 17 if (method_exists($mysql, 'set_charset')) {
|
H A D | mysqli_stmt_get_warnings.phpt | 71 if (!method_exists($warning, 'next'))
|
H A D | mysqli_get_warnings.phpt | 49 if (!method_exists($warning, 'next'))
|
/PHP-7.3/ext/date/tests/ |
H A D | DateInterval_format_a.phpt | 10 if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist");
|
H A D | DateInterval_format.phpt | 10 <?php if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist"); ?>
|
/PHP-7.3/ext/xmlreader/tests/ |
H A D | 011.phpt | 6 if (!method_exists($reader, 'readInnerXml')) print "skip";
|
H A D | expand_error.phpt | 7 if (!method_exists($reader, 'expand')) print "skip";
|
H A D | expand.phpt | 7 if (!method_exists($reader, 'expand')) print "skip";
|
H A D | 013.phpt | 5 <?php if (!method_exists('XMLReader','setSchema')) die('skip XMLReader::setSchema() not supported')…
|
/PHP-7.3/ext/zip/tests/ |
H A D | oo_encryption.phpt | 6 if (!method_exists('ZipArchive', 'setEncryptionName')) die('skip encrytion not supported');
|
/PHP-7.3/Zend/ |
H A D | zend_inheritance.c | 1397 zend_bool method_exists; in zend_traits_init_trait_structures() local 1420 method_exists = zend_hash_exists(&trait->function_table, lcname); in zend_traits_init_trait_structures() 1421 if (!method_exists) { in zend_traits_init_trait_structures() 1489 method_exists = zend_hash_exists(&trait->function_table, lcname); in zend_traits_init_trait_structures() 1492 if (!method_exists) { in zend_traits_init_trait_structures()
|