/PHP-8.1/ext/standard/tests/general_functions/ |
H A D | is_object.phpt | 2 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.1/ext/mysqli/tests/ |
H A D | mysqli_prepare.phpt | 26 …if (!is_object(($stmt = mysqli_prepare($link, 'SELECT id FROM test'))) || !mysqli_stmt_execute($st… 34 …if (!is_object(($stmt = mysqli_prepare($link, 'CREATE TABLE test2(id INT) ENGINE =' . $engine))) |… 39 if (!is_object(($stmt = mysqli_prepare($link, 'INSERT INTO test2(id) VALUES(?)')))) 47 if (!is_object(($stmt = mysqli_prepare($link, 'REPLACE INTO test2(id) VALUES (?)')))) 55 if (!is_object(($stmt = mysqli_prepare($link, 'UPDATE test2 SET id = ? WHERE id = ?')))) 64 if (!is_object(($stmt = mysqli_prepare($link, 'DELETE FROM test2 WHERE id = ?')))) 72 if (!is_object(($stmt = mysqli_prepare($link, 'SET @testvar = ?')))) 80 if (!is_object(($stmt = mysqli_prepare($link, "DO GET_LOCK('testlock', 1)")))) 84 if (!is_object(($stmt = mysqli_prepare($link, 'SELECT id, @testvar FROM test2'))))
|
H A D | mysqli_connect_oo_warnings.phpt | 21 if (!is_object($mysqli = new mysqli($myhost)) || ('mysqli' !== get_class($mysqli))) 22 …printf("[001] Expecting NULL, got %s/%s\n", gettype($mysqli), (is_object($mysqli)) ? var_export($m… 25 if (!is_object($mysqli = @new mysqli($myhost)) || ('mysqli' !== get_class($mysqli))) 26 …printf("[002] Expecting NULL, got %s/%s\n", gettype($mysqli), (is_object($mysqli)) ? var_export($m…
|
H A D | mysqli_prepare_no_object.phpt | 14 …printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($t… 18 …printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($t… 28 …printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($t… 32 …printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($t…
|
H A D | mysqli_init.phpt | 13 if (!is_object($link) && false !== $link) 16 if (is_object($link) && 'mysqli' != get_class($link))
|
H A D | mysqli_connect.phpt | 67 if (!is_object($link = mysqli_connect($host, $user, $passwd, $db, $port))) { 78 if (!is_object($link = mysqli_connect($host, $user, $passwd, $db))) { 89 if (!is_object($link = mysqli_connect($host, $user))) { 100 if (!is_object($link = mysqli_connect($host))) { 111 if (!is_object($link = mysqli_connect())) { 123 if (!is_object($link = mysqli_connect())) { 139 if (is_object($link = @mysqli_connect())) {
|
/PHP-8.1/ext/enchant/tests/ |
H A D | broker_request_pwl_dict.phpt | 9 if(!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 16 if (is_object($broker)) { 20 if (is_object($requestDict)) {
|
H A D | broker_init.phpt | 9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 14 if (is_object($broker)) {
|
H A D | broker_free.phpt | 9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 14 if (is_object($broker)) {
|
H A D | invalidobj.phpt | 7 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 12 if (is_object($broker)) {
|
H A D | broker_free_01.phpt | 9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 14 if (is_object($broker)) {
|
H A D | broker_get_error.phpt | 9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 14 if (is_object($broker)) {
|
H A D | broker_request_dict_01.phpt | 9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 19 if (is_object($dict)) {
|
H A D | broker_set_ordering.phpt | 9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 18 if (is_object($broker)) {
|
H A D | broker_request_dict.phpt | 9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 21 if (is_object($dict)) {
|
H A D | dict_get_error.phpt | 9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 17 if (is_object($broker)) {
|
H A D | dict_describe.phpt | 9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 17 if (is_object($broker)) {
|
H A D | dict_quick_check_01.phpt | 9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 18 if (is_object($broker)) {
|
H A D | dict_add_to_personal.phpt | 9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 18 if (is_object($broker)) {
|
H A D | dict_add_to_session.phpt | 9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 18 if (is_object($broker)) {
|
H A D | dict_check.phpt | 9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 18 if (is_object($broker)) {
|
H A D | dict_suggest.phpt | 9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 18 if (is_object($broker)) {
|
H A D | dict_is_in_session.phpt | 9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 18 if (is_object($broker)) {
|
/PHP-8.1/ext/opcache/tests/ |
H A D | phi_remove_002.phpt | 12 if (! is_object( $user ) || ( is_object($user) && ( $user->login != $blogname )) ) {
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql___construct_options.phpt | 23 if (!is_object($db) || ($value !== ($tmp = @$db->getAttribute($option)))) 78 if (!is_object($db = new PDO($dsn, $user, $pass, array()))) 82 if (is_object($db = new PDO($dsn, $user, $pass, array($invalid => true)))) 97 if (!is_object($db) || !$db->getAttribute(PDO::ATTR_AUTOCOMMIT)) 101 if (!is_object($db) || $db->getAttribute(PDO::ATTR_AUTOCOMMIT)) 105 if (!is_object($db = new PDO($dsn, $user, $pass, array(PDO::ATTR_TIMEOUT => 10)))) 108 if (!is_object($db = new PDO($dsn, $user, $pass, array(PDO::ATTR_TIMEOUT => PHP_INT_MAX)))) 116 if (!is_object($db)) 125 if (!is_object($db)) 168 (is_object($db)) ? $db->errorCode() : 'n/a', [all …]
|