/PHP-8.2/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 | bug77627.phpt | 2 Fix for #77627 method_exists on Closure::__invoke without object returns false 5 var_dump(method_exists(Closure::class, "__invoke")); 6 var_dump(method_exists(Closure::class, "__INVOKE")); 10 var_dump(method_exists($closure, "__INVOKE"));
|
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-8.2/ext/standard/tests/class_object/ |
H A D | method_exists_variation_001.phpt | 2 Test method_exists() function : usage variations - unexpected type for arg 1 14 echo "*** Testing method_exists() : usage variations ***\n"; 76 var_dump( method_exists($value, $method) ); 85 *** Testing method_exists() : usage variations *** 90 method_exists(): Argument #1 ($object_or_class) must be of type object|string, int given 93 method_exists(): Argument #1 ($object_or_class) must be of type object|string, int given 96 method_exists(): Argument #1 ($object_or_class) must be of type object|string, int given 99 method_exists(): Argument #1 ($object_or_class) must be of type object|string, int given 102 method_exists(): Argument #1 ($object_or_class) must be of type object|string, float given 105 method_exists(): Argument #1 ($object_or_class) must be of type object|string, float given [all …]
|
H A D | method_exists_variation_003.phpt | 2 Test method_exists() function : variation - Case sensitivity 5 echo "*** Testing method_exists() : variation ***\n"; 11 var_dump(method_exists(new casesensitivitytest, 'myMetHOD')); 12 var_dump(method_exists('casesensiTivitytest', 'myMetHOD')); 17 *** Testing method_exists() : variation ***
|
H A D | method_exists_basic_002.phpt | 2 method_exists() on internal classes 7 var_dump(method_exists("exception", "getmessage")); 9 var_dump(method_exists("stdclass", "nonexistent")); 13 var_dump(method_exists(new exception, "getmessage")); 15 var_dump(method_exists(new stdclass, "nonexistent"));
|
H A D | method_exists_basic_003.phpt | 2 method_exists() on non-existent class, with __autoload(). 9 var_dump(method_exists('UndefC', 'func'));
|
H A D | method_exists_basic_001.phpt | 2 method_exists() on userspace classes; static & non-static methods with various visibilities. 34 var_dump(method_exists("C", $method)); 41 var_dump(method_exists($myC, $method));
|
/PHP-8.2/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')) {
|
/PHP-8.2/ext/sqlite3/tests/ |
H A D | sqlite3_34_load_extension_ext_dir.phpt | 10 if (!method_exists('SQLite3', 'loadExtension')) {
|
H A D | sqlite3_33_load_extension_param.phpt | 12 if (!method_exists('SQLite3', 'loadExtension')) {
|
/PHP-8.2/ext/intl/tests/ |
H A D | spoofchecker_unknown_restriction_level.phpt | 9 if (!method_exists(new Spoofchecker(), 'setRestrictionLevel')) print 'skip ICU version < 58';
|
/PHP-8.2/ext/xmlreader/tests/ |
H A D | 011.phpt | 7 if (!method_exists($reader, 'readInnerXml')) print "skip";
|
H A D | expand_error.phpt | 8 if (!method_exists($reader, 'expand')) print "skip";
|
H A D | expand.phpt | 8 if (!method_exists($reader, 'expand')) print "skip";
|
H A D | 013.phpt | 6 <?php if (!method_exists('XMLReader','setSchema')) die('skip XMLReader::setSchema() not supported')…
|
/PHP-8.2/ext/zip/tests/ |
H A D | oo_progress.phpt | 8 if (!method_exists('ZipArchive', 'registerProgressCallback')) die('skip libzip too old');
|
H A D | oo_cancel.phpt | 8 if (!method_exists('ZipArchive', 'registerCancelCallback')) die('skip libzip too old');
|
/PHP-8.2/ext/opcache/tests/opt/ |
H A D | sccp_026.phpt | 15 if (!is_string($var) || (is_object($var) && !method_exists($var, '__toString'))) {
|
/PHP-8.2/ext/session/tests/ |
H A D | gh9583-extra.phpt | 43 echo 'validateId() ', (method_exists($obj, 'validateId') ? ('returns ' . ($obj->validateId(1) ? 'tr…
|