Home
last modified time | relevance | path

Searched refs:method_exists (Results 1 – 25 of 39) sorted by last modified time

12

/php-src/ext/opcache/tests/opt/
H A Dsccp_026.phpt15 if (!is_string($var) || (is_object($var) && !method_exists($var, '__toString'))) {
/php-src/ext/pdo_sqlite/tests/subclasses/
H A Dpdosqlite_003.phpt7 if (!method_exists(PdoSqlite::class, "loadExtension")) {
H A Dpdosqlite_load_extension_failure.phpt7 if (!method_exists(PdoSqlite::class, "loadExtension")) {
/php-src/Zend/
H A Dzend_builtin_functions_arginfo.h256 ZEND_FUNCTION(method_exists);
316 ZEND_FE(method_exists, arginfo_method_exists)
H A Dzend_builtin_functions.c881 ZEND_FUNCTION(method_exists) in ZEND_FUNCTION() argument
H A Dzend_builtin_functions.stub.php69 function method_exists($object_or_class, string $method): bool {} function
/php-src/ext/zip/tests/
H A Dbug80833.phpt7 if (!method_exists('ZipArchive', 'setEncryptionName')) die('skip encryption not supported');
H A Doo_cancel.phpt8 if (!method_exists('ZipArchive', 'registerCancelCallback')) die('skip libzip too old');
H A Doo_progress.phpt8 if (!method_exists('ZipArchive', 'registerProgressCallback')) die('skip libzip too old');
H A Doo_setmtime.phpt8 if (!method_exists('ZipArchive', 'setMtimeName')) die('skip libzip too old');
H A Doo_supported.phpt8 if (!method_exists('ZipArchive', 'isCompressionMethodSupported')) die('skip needs libzip >= 1.7');
H A Doo_addglob2.phpt7 if (!method_exists('ZipArchive', 'setEncryptionName')) die('skip encrytion not supported');
H A Doo_encryption.phpt7 if (!method_exists('ZipArchive', 'setEncryptionName')) die('skip encryption not supported');
/php-src/ext/pdo/tests/
H A Dpdo_018.phpt127 if (method_exists($obj, 'serialize'))
/php-src/ext/mysqli/tests/
H A Dmysqli_get_warnings.phpt48 if (!method_exists($warning, 'next'))
H A Dmysqli_stmt_get_warnings.phpt61 if (!method_exists($warning, 'next'))
H A Dbug36802.phpt17 if (method_exists($mysql, 'set_charset')) {
/php-src/ext/sqlite3/tests/
H A Dsqlite3_33_load_extension_param.phpt12 if (!method_exists('SQLite3', 'loadExtension')) {
H A Dsqlite3_34_load_extension_ext_dir.phpt10 if (!method_exists('SQLite3', 'loadExtension')) {
/php-src/ext/standard/tests/class_object/
H A Dmethod_exists_variation_001.phpt2 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 …]
/php-src/ext/session/tests/user_session_module/
H A Dgh9583-extra.phpt41 echo 'validateId() ', (method_exists($obj, 'validateId') ? ('returns ' . ($obj->validateId(1) ? 'tr…
H A Dgh9583.phpt33 echo "\nvalidateId() ".(method_exists($obj,'validateId')?('returns '.($obj->validateId(1)?'true':'f…
/php-src/ext/xmlreader/tests/
H A D011.phpt7 if (!method_exists($reader, 'readInnerXml')) print "skip";
H A Dexpand.phpt8 if (!method_exists($reader, 'expand')) print "skip";
H A Dexpand_error.phpt8 if (!method_exists($reader, 'expand')) print "skip";

Completed in 34 milliseconds

12