/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_options_init_command.phpt | 25 if (!$res = mysqli_query($link, "SELECT COUNT(id) AS _num_rows FROM test")) 28 $row = mysqli_fetch_assoc($res); 29 mysqli_free_result($res); 44 if (!$res = mysqli_query($link, "SELECT COUNT(id) AS _num_rows FROM test")) 47 $row = mysqli_fetch_assoc($res); 48 mysqli_free_result($res);
|
H A D | mysqli_pconn_twice.phpt | 28 if (!($res = mysqli_query($link, "SELECT 'ok' AS it_works")) || 29 !($row = mysqli_fetch_assoc($res))) 33 mysqli_free_result($res); 47 if (!($res = $link->query("SELECT 'works also with oo' AS syntax")) || 48 !($row = $res->fetch_assoc())) 52 mysqli_free_result($res);
|
H A D | mysqli_character_set_name.phpt | 30 if (!$res = mysqli_query($link, 'SELECT version() AS server_version')) 32 $tmp = mysqli_fetch_assoc($res); 33 mysqli_free_result($res); 41 …if (!$res = mysqli_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connect… 43 $tmp = mysqli_fetch_assoc($res); 44 mysqli_free_result($res);
|
H A D | mysqli_more_results.phpt | 35 $res = mysqli_store_result($link); 36 mysqli_free_result($res); 49 $res = mysqli_use_result($link); 53 while ($row = mysqli_fetch_array($res)) 55 mysqli_free_result($res);
|
H A D | mysqli_stmt_attr_set.phpt | 80 $res = $stmt->result_metadata(); 81 $fields = $res->fetch_fields(); 88 $res->close(); 96 if ($res !== 1) 100 $res = $stmt->result_metadata(); 101 $fields = $res->fetch_fields(); 108 $res->close(); 116 if ($res !== 0) 120 $res = $stmt->result_metadata(); 121 $fields = $res->fetch_fields(); [all …]
|
H A D | mysqli_pconn_conn_multiple.phpt | 35 if (!($res = mysqli_query($link, "SELECT 'ok' AS it_works")) || 36 !($row = mysqli_fetch_assoc($res))) 40 mysqli_free_result($res); 60 if (!($res = $link->query("SELECT 'works also with oo' AS syntax")) || 61 !($row = $res->fetch_assoc())) 65 mysqli_free_result($res); 97 if (!($res = mysqli_query($link, "SELECT 'ok' AS it_works")) || 98 !($row = mysqli_fetch_assoc($res))) 102 mysqli_free_result($res); 123 !($row = $res->fetch_assoc())) [all …]
|
H A D | bug73949.phpt | 18 $res=mysqli_query($i, "SHOW STATUS LIKE 'Connections'"); 20 while($db= mysqli_fetch_object($res,'cc',$t)){}
|
H A D | mysqli_fetch_array_oo.phpt | 26 var_dump($res->fetch_array()); 29 var_dump($res->fetch_array(MYSQLI_NUM)); 32 var_dump($res->fetch_array(MYSQLI_BOTH)); 35 var_dump($res->fetch_array(MYSQLI_ASSOC)); 38 var_dump($res->fetch_array()); 40 $res->free_result(); 46 var_dump($res->fetch_array(MYSQLI_BOTH)); 48 $res->free_result(); 59 $tmp = $res->fetch_array($illegal_mode); 64 $tmp = $res->fetch_array($illegal_mode); [all …]
|
H A D | mysqli_pam_sha256.phpt | 23 if (!($res = $link->query("SHOW PLUGINS"))) { 28 while ($row = $res->fetch_assoc()) { 37 if (!($res = $link->query("SHOW STATUS LIKE 'Rsa_public_key'"))) { 41 if (!($row = $res->fetch_assoc())) { 89 if (!$res = $link->query("SELECT id FROM test WHERE id = 1")) 92 if (!$row = mysqli_fetch_assoc($res)) { 100 $res->close();
|
H A D | mysqli_fetch_assoc_zerofill.phpt | 29 if (!($res = mysqli_query($link, 'SELECT zero FROM test LIMIT 1'))) { 35 $row = mysqli_fetch_assoc($res); 36 $meta = mysqli_fetch_fields($res); 37 mysqli_free_result($res);
|
H A D | mysqli_fetch_object_no_object.phpt | 12 … if (!$res = mysqli_query($link, "SELECT id AS ID, label FROM test AS TEST ORDER BY id LIMIT 5")) { 16 $obj = mysqli_fetch_object($res);
|
/PHP-7.4/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 295 PGresult *res; in pgsql_handle_doer() local 307 PQclear(res); in pgsql_handle_doer() 316 PQclear(res); in pgsql_handle_doer() 354 PGresult *res; in pdo_pgsql_last_insert_id() local 374 if (res) { in pdo_pgsql_last_insert_id() 375 PQclear(res); in pdo_pgsql_last_insert_id() 404 if (res && PQresultStatus(res) == PGRES_TUPLES_OK) { in pdo_pgsql_get_attribute() 408 if (res) { in pdo_pgsql_get_attribute() 409 PQclear(res); in pdo_pgsql_get_attribute() 495 PGresult *res; in pdo_pgsql_transaction_cmd() local [all …]
|
H A D | pgsql_statement.c | 76 PGresult *res; in pgsql_stmt_dtor() local 79 res = PQexec(H->server, q); in pgsql_stmt_dtor() 81 if (res) { in pgsql_stmt_dtor() 82 PQclear(res); in pgsql_stmt_dtor() 113 PGresult *res; in pgsql_stmt_dtor() local 118 if (res) PQclear(res); in pgsql_stmt_dtor() 203 PGresult *res; in pgsql_stmt_execute() local 206 if (res) { in pgsql_stmt_execute() 207 PQclear(res); in pgsql_stmt_execute() 639 PGresult *res; in pgsql_stmt_get_column_meta() local [all …]
|
/PHP-7.4/ext/intl/tests/ |
H A D | bug62070_2.phpt | 12 $res = collator_get_sort_key($coll, $s1); 14 echo urlencode($res);
|
H A D | resourcebundle.build | 15 $dir = new GlobIterator("$here/_files/resourcebundle/*.res", FilesystemIterator::KEY_AS_FILENAME); 17 if($file->getFileName() == "res_index.res") continue; 18 $list[] = str_replace(".res", "", $file->getFileName());
|
/PHP-7.4/ext/standard/tests/math/ |
H A D | dechex_basic.phpt | 21 $res = dechex($values[$i]); 22 var_dump($res);
|
H A D | is_nan_basic.phpt | 22 $res = is_nan($values[$i]); 23 var_dump($res);
|
H A D | is_finite_basic.phpt | 21 $res = is_finite($values[$i]); 22 var_dump($res);
|
H A D | is_infinite_basic.phpt | 21 $res = is_infinite($values[$i]); 22 var_dump($res);
|
/PHP-7.4/ext/sqlite3/tests/ |
H A D | bug70628.phpt | 26 $res = $db->query('SELECT * FROM Dogs'); 27 while (($row = $res->fetchArray(SQLITE3_ASSOC))) { 30 $res->finalize();
|
/PHP-7.4/ext/soap/tests/ |
H A D | bug79357.phpt | 7 $res = $sc->Add(['intA'=>1]); 8 var_dump($res);
|
/PHP-7.4/ext/oci8/tests/ |
H A D | fetch_all4.phpt | 26 $res = array(1,2,3); // this array is replaced as a result of the query 27 $r = oci_fetch_all($s, $res); 29 var_dump($res);
|
H A D | imp_res_5.phpt | 40 oci_fetch_all($s,$res); // This will fail with ORA-24374 41 var_dump($res); 48 oci_fetch_all($s, $res); // This will fail with ORA-24374 49 var_dump($res);
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | sscanf_basic8.phpt | 26 $res = sscanf($str, $format1, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6); 27 var_dump($res, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6); 28 $res = sscanf($str, $format2, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6); 29 var_dump($res, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | rename_variation12-win32.phpt | 56 $res = rename($dir."/".$fromFile, $dir."/".$toFile); 57 var_dump($res); 58 if ($res == true) { 59 $res = rename($dir."/".$toFile, $dir."/".$fromFile); 60 var_dump($res);
|