Home
last modified time | relevance | path

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

12345

/php-src/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-src/ext/mysqli/tests/
H A Dmysqli_prepare.phpt24 …if (!is_object(($stmt = mysqli_prepare($link, 'SELECT id FROM test'))) || !mysqli_stmt_execute($st…
32 …if (!is_object(($stmt = mysqli_prepare($link, 'CREATE TABLE test2(id INT) ENGINE =' . $engine))) |…
37 if (!is_object(($stmt = mysqli_prepare($link, 'INSERT INTO test2(id) VALUES(?)'))))
45 if (!is_object(($stmt = mysqli_prepare($link, 'REPLACE INTO test2(id) VALUES (?)'))))
53 if (!is_object(($stmt = mysqli_prepare($link, 'UPDATE test2 SET id = ? WHERE id = ?'))))
62 if (!is_object(($stmt = mysqli_prepare($link, 'DELETE FROM test2 WHERE id = ?'))))
70 if (!is_object(($stmt = mysqli_prepare($link, 'SET @testvar = ?'))))
78 if (!is_object(($stmt = mysqli_prepare($link, "DO GET_LOCK('testlock', 1)"))))
82 if (!is_object(($stmt = mysqli_prepare($link, 'SELECT id, @testvar FROM test2'))))
H A Dmysqli_init.phpt13 if (!is_object($link) && false !== $link)
16 if (is_object($link) && 'mysqli' != get_class($link))
H A Dmysqli_stmt_result_metadata.phpt25 if (!is_object(($res = mysqli_stmt_result_metadata($stmt))))
32 if (!is_object($field0_fetch = mysqli_fetch_field($res)))
36 if (!is_object($field0_direct = mysqli_fetch_field_direct($res, 0)))
58 if (!is_object($field1_direct = mysqli_fetch_field_direct($res, 1)))
H A Dmysqli_connect.phpt65 if (!is_object($link = mysqli_connect($host, $user, $passwd, $db, $port))) {
76 if (!is_object($link = mysqli_connect($host, $user, $passwd, $db))) {
87 if (!is_object($link = mysqli_connect($host, $user))) {
98 if (!is_object($link = mysqli_connect($host))) {
109 if (!is_object($link = mysqli_connect())) {
120 if (!is_object($link = mysqli_connect())) {
136 if (is_object($link = @mysqli_connect())) {
/php-src/ext/enchant/tests/
H A Dbroker_request_pwl_dict.phpt9 if(!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
16 if (is_object($broker)) {
20 if (is_object($requestDict)) {
H A Dbroker_init.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
14 if (is_object($broker)) {
H A Dbroker_free_01.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
14 if (is_object($broker)) {
H A Dbroker_get_error.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
14 if (is_object($broker)) {
H A Dinvalidobj.phpt7 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
12 if (is_object($broker)) {
H A Dbroker_free.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
14 if (is_object($broker)) {
H A Dbroker_request_dict_01.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
19 if (is_object($dict)) {
H A Dbroker_set_ordering.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
18 if (is_object($broker)) {
H A Dbroker_request_dict.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
21 if (is_object($dict)) {
H A Ddict_get_error.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
17 if (is_object($broker)) {
H A Ddict_describe.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
17 if (is_object($broker)) {
H A Ddict_quick_check_01.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
18 if (is_object($broker)) {
H A Ddict_add_to_personal.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
18 if (is_object($broker)) {
H A Ddict_add_to_session.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
18 if (is_object($broker)) {
H A Ddict_check.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
18 if (is_object($broker)) {
H A Ddict_suggest.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
18 if (is_object($broker)) {
H A Ddict_is_in_session.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
18 if (is_object($broker)) {
H A Ddict_store_replacement.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
19 if (is_object($broker)) {
/php-src/ext/opcache/tests/
H A Dphi_remove_002.phpt12 if (! is_object( $user ) || ( is_object($user) && ( $user->login != $blogname )) ) {
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql___construct_options.phpt22 if (!is_object($db) || ($value !== ($tmp = @$db->getAttribute($option))))
75 if (!is_object($db = new PDO($dsn, $user, $pass, array())))
79 if (is_object($db = new PDO($dsn, $user, $pass, array($invalid => true))))
94 if (!is_object($db) || !$db->getAttribute(PDO::ATTR_AUTOCOMMIT))
98 if (!is_object($db) || $db->getAttribute(PDO::ATTR_AUTOCOMMIT))
102 if (!is_object($db = new PDO($dsn, $user, $pass, array(PDO::ATTR_TIMEOUT => 10))))
105 if (!is_object($db = new PDO($dsn, $user, $pass, array(PDO::ATTR_TIMEOUT => PHP_INT_MAX))))
113 if (!is_object($db))
122 if (!is_object($db))
165 (is_object($db)) ? $db->errorCode() : 'n/a',
[all …]

Completed in 21 milliseconds

12345