Home
last modified time | relevance | path

Searched refs:is_object (Results 1 – 25 of 113) sorted by relevance

12345

/PHP-8.0/ext/standard/tests/general_functions/
H A Dis_object.phpt2 Test is_object() function
5 echo "*** Testing is_object() with valid objects ***\n";
89 /* loop to check that is_object() recognizes different
94 var_dump( is_object($object) );
97 echo "\n*** Testing is_object() on non object types ***\n";
130 is_object() on non object types, expected output: bool(false) */
134 var_dump( is_object($type) );
145 *** Testing is_object() with valid objects ***
169 *** Testing is_object() on non object types ***
/PHP-8.0/ext/opcache/tests/
H A Dphi_remove_002.phpt12 if (! is_object( $user ) || ( is_object($user) && ( $user->login != $blogname )) ) {
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_prepare.phpt25 …if (!is_object(($stmt = mysqli_prepare($link, 'SELECT id FROM test'))) || !mysqli_stmt_execute($st…
33 …if (!is_object(($stmt = mysqli_prepare($link, 'CREATE TABLE test2(id INT) ENGINE =' . $engine))) |…
38 if (!is_object(($stmt = mysqli_prepare($link, 'INSERT INTO test2(id) VALUES(?)'))))
46 if (!is_object(($stmt = mysqli_prepare($link, 'REPLACE INTO test2(id) VALUES (?)'))))
54 if (!is_object(($stmt = mysqli_prepare($link, 'UPDATE test2 SET id = ? WHERE id = ?'))))
63 if (!is_object(($stmt = mysqli_prepare($link, 'DELETE FROM test2 WHERE id = ?'))))
71 if (!is_object(($stmt = mysqli_prepare($link, 'SET @testvar = ?'))))
79 if (!is_object(($stmt = mysqli_prepare($link, "DO GET_LOCK('testlock', 1)"))))
83 if (!is_object(($stmt = mysqli_prepare($link, 'SELECT id, @testvar FROM test2'))))
H A Dmysqli_connect_oo_warnings.phpt20 if (!is_object($mysqli = new mysqli($myhost)) || ('mysqli' !== get_class($mysqli)))
21 …printf("[001] Expecting NULL, got %s/%s\n", gettype($mysqli), (is_object($mysqli)) ? var_export($m…
24 if (!is_object($mysqli = @new mysqli($myhost)) || ('mysqli' !== get_class($mysqli)))
25 …printf("[002] Expecting NULL, got %s/%s\n", gettype($mysqli), (is_object($mysqli)) ? var_export($m…
H A Dmysqli_prepare_no_object.phpt13 …printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($t…
17 …printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($t…
27 …printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($t…
31 …printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($t…
H A Dmysqli_init.phpt12 if (!is_object($link) && false !== $link)
15 if (is_object($link) && 'mysqli' != get_class($link))
H A Dmysqli_stmt_init.phpt19 if (!is_object($stmt = mysqli_stmt_init($link)))
22 if (!is_object($stmt2 = @mysqli_stmt_init($link)))
/PHP-8.0/ext/enchant/tests/
H A Dbroker_request_pwl_dict.phpt8 if(!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
15 if (is_object($broker)) {
19 if (is_object($requestDict)) {
H A Dbroker_init.phpt8 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
13 if (is_object($broker)) {
H A Dbroker_free.phpt8 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
13 if (is_object($broker)) {
H A Dinvalidobj.phpt6 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
11 if (is_object($broker)) {
H A Dbroker_free_01.phpt8 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
13 if (is_object($broker)) {
H A Dbroker_get_error.phpt8 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
13 if (is_object($broker)) {
H A Dbroker_request_dict_01.phpt8 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
18 if (is_object($dict)) {
H A Dbroker_set_ordering.phpt8 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
17 if (is_object($broker)) {
H A Dbroker_request_dict.phpt8 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
20 if (is_object($dict)) {
H A Ddict_get_error.phpt8 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
16 if (is_object($broker)) {
H A Ddict_describe.phpt8 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
16 if (is_object($broker)) {
H A Ddict_quick_check_01.phpt8 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
17 if (is_object($broker)) {
H A Ddict_suggest.phpt8 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
17 if (is_object($broker)) {
H A Ddict_add_to_personal.phpt8 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
17 if (is_object($broker)) {
H A Ddict_add_to_session.phpt8 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
17 if (is_object($broker)) {
H A Ddict_store_replacement.phpt8 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
18 if (is_object($broker)) {
H A Ddict_check.phpt8 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
17 if (is_object($broker)) {
/PHP-8.0/ext/pdo_mysql/tests/
H A Dpdo_mysql___construct_options.phpt22 if (!is_object($db) || ($value !== ($tmp = @$db->getAttribute($option))))
77 if (!is_object($db = new PDO($dsn, $user, $pass, array())))
81 if (is_object($db = new PDO($dsn, $user, $pass, array($invalid => true))))
96 if (!is_object($db) || !$db->getAttribute(PDO::ATTR_AUTOCOMMIT))
100 if (!is_object($db) || $db->getAttribute(PDO::ATTR_AUTOCOMMIT))
104 if (!is_object($db = new PDO($dsn, $user, $pass, array(PDO::ATTR_TIMEOUT => 10))))
107 if (!is_object($db = new PDO($dsn, $user, $pass, array(PDO::ATTR_TIMEOUT => PHP_INT_MAX))))
115 if (!is_object($db))
124 if (!is_object($db))
162 (is_object($db)) ? $db->errorCode() : 'n/a',
[all …]

Completed in 31 milliseconds

12345