/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_stmt_send_long_data.phpt | 35 if (!$row = mysqli_fetch_assoc($res)) 40 if (isset($row['VARIABLE_VALUE']) && !isset($row['Value'])) 42 $row['Value'] = $row['VARIABLE_VALUE']; 44 if (0 === ($max_allowed_packet = (int)$row['Value'])) 93 if (!$row = mysqli_fetch_assoc($res)) 98 if (empty($row['id']) || empty($row['label']) || ($row['id'] != 1)) 101 if ($blob != $row['label'])
|
H A D | mysqli_pconn_limits.phpt | 24 $row = mysqli_fetch_assoc($res); 26 printf("Regular connection 1 - '%s'\n", $row['_desc']); 36 $row = mysqli_fetch_assoc($res); 38 printf("Regular connection 2 - '%s'\n", $row['_desc']); 50 $row = mysqli_fetch_assoc($res); 52 printf("Persistent connection 1 - '%s'\n", $row['_desc']); 63 $row = mysqli_fetch_assoc($res); 65 printf("Persistent connection 2 - '%s'\n", $row['_desc']); 77 $row = mysqli_fetch_assoc($res); 79 printf("Persistent connection 3 - '%s'\n", $row['_desc']);
|
H A D | mysqli_data_seek_oo.phpt | 32 $row = $res->fetch_assoc(); 33 if (4 != $row['id']) 34 printf("[008] Expecting record 4/d, got record %s/%s\n", $row['id'], $row['label']); 39 $row = $res->fetch_assoc(); 40 if (1 != $row['id']) 41 printf("[010] Expecting record 1/a, got record %s/%s\n", $row['id'], $row['label']);
|
H A D | mysqli_select_db.phpt | 25 if (!$row = mysqli_fetch_assoc($res)) 28 if ($row['dbname'] !== (string)$db) 29 printf("[008] Expecting database '%s', found '%s'\n", $db, $row['dbname']); 39 if (!$row = mysqli_fetch_assoc($res)) 42 if (strtolower($row['dbname']) !== 'mysql') 43 printf("[011] Expecting database 'mysql', found '%s'\n", $row['dbname']); 53 if (!$row = mysqli_fetch_assoc($res)) 56 $current_db = $row['dbname']; 76 if (!$row = mysqli_fetch_assoc($res)) 79 if (strtolower($row['dbname']) != strtolower($current_db)) [all …]
|
H A D | mysqli_change_user_rollback.phpt | 28 if (!$row = mysqli_fetch_assoc($res)) 32 $num = $row['_num']; 41 if (!$row = mysqli_fetch_assoc($res)) 45 if (0 != $row['_num']) 54 if (!$row = mysqli_fetch_assoc($res)) 57 if ($row['_num'] != $num) 59 $num, $row['_num']);
|
H A D | connect.inc | 105 ($row = $res->fetch_row()) && 106 !empty($row)) { 107 if ($row[1] == "DISABLED" || $row[1] == "NO") { 114 while ($row = $res->fetch_assoc()) { 115 if (!isset($row['Engine']) || !isset($row['Support'])) 118 if (('InnoDB' == $row['Engine']) && 119 (('YES' == $row['Support']) || ('DEFAULT' == $row['Support']))
|
/PHP-8.1/ext/oci8/tests/ |
H A D | lob_025.phpt | 37 var_dump($row = oci_fetch_array($s)); 39 var_dump(oci_lob_read($row[0], 2)); 40 var_dump(oci_lob_eof($row[0])); 42 unset($row[0]->descriptor); 43 var_dump(oci_lob_read($row[0],1)); 44 var_dump(oci_lob_eof($row[0]));
|
H A D | bind_long.phpt | 36 $row = oci_fetch_row($stmt); 37 var_dump(md5($row[0])); 38 var_dump(strlen($row[0])); 54 $row = oci_fetch_row($stmt); 55 var_dump(md5($row[0])); 56 var_dump(strlen($row[0]));
|
H A D | lob_027.phpt | 39 var_dump($row = oci_fetch_array($s)); 48 $row = oci_fetch_array($s); 49 var_dump($row['BLOB']->load()); 51 var_dump($row['BLOB']->truncate(($i-1)*10)); 63 $row = oci_fetch_array($s); 64 var_dump($row['BLOB']->load()); 65 var_dump($row['BLOB']->truncate(0)); 68 var_dump($row['BLOB']->truncate(-1));
|
H A D | lob_024.phpt | 39 var_dump($row = oci_fetch_array($s)); 41 var_dump(strlen($row[0]->load())); 42 var_dump(strlen(oci_lob_load($row[0]))); 43 unset($row[0]->descriptor); 44 var_dump(oci_lob_load($row[0]));
|
/PHP-8.1/ext/dom/tests/ |
H A D | dom_test.inc | 14 <row><entry>a1</entry><entry morerows='1'>b1</entry><entry>c1</entry></row> 15 <row><entry>a2</entry><entry>c2</entry></row> 16 <row><entry>a3</entry><entry>b3</entry><entry>c3</entry></row>
|
/PHP-8.1/ext/pdo/tests/ |
H A D | pecl_bug_5772.phpt | 21 function heLLO($row) { 22 return $row; 25 foreach ($db->query("SELECT * FROM test")->fetchAll(PDO::FETCH_FUNC, 'heLLO') as $row) { 26 var_dump($row);
|
H A D | pdo_021.phpt | 38 foreach ($data as $row) { 39 $stmt->execute($row); 47 foreach ($data as $row) { 48 $stmt2->execute(array(':first'=>($row[0] + 5), ':second'=>$row[1], 49 ':third'=>$row[2]));
|
H A D | pdo_005.phpt | 34 protected $row; 36 public function __construct(&$row) 38 echo __METHOD__ . "($row,{$this->id})\n"; 39 $this->row = $row++; 124 ["row":protected]=> 137 ["row":protected]=> 150 ["row":protected]=>
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_types.phpt | 33 $row = $stmt->fetch(PDO::FETCH_ASSOC); 36 if (!isset($row['id']) || !isset($row['label'])) { 37 …tf("[%03d + 2] Fetched result seems wrong, dumping result: %s\n", $offset, var_export($row, true)); 41 if ($row['id'] != $offset) { 42 printf("[%03d + 3] Expecting %s got %s\n", $offset, $row['id']); 47 if (!preg_match($pattern, $row['label'])) { 49 $offset, $pattern, var_export($row['label'], true)); 61 …if ($row['label'] !== $exp && !is_null($alternative_type) && gettype($row['label']) != $alternativ… 64 var_export($row['label'], true), gettype($row['label']), 75 if (is_null($pattern) && ($row['label'] != $row_string['label'])) { [all …]
|
H A D | pdo_mysql_exec_load_data.phpt | 13 $row = $stmt->fetch(PDO::FETCH_ASSOC); 14 $tmp = explode('@', $row['_user']); 21 if (($row = $stmt->fetch(PDO::FETCH_ASSOC)) && ($row['value'] != '')) { 22 if (!is_writable($row['value'])) 23 die("skip secure_file_priv directory not writable: {$row['value']}"); 25 $filename = $row['value'] . DIRECTORY_SEPARATOR . "pdo_mysql_exec_load_data.csv"; 73 if (($row = $stmt->fetch(PDO::FETCH_ASSOC)) && ($row['value'] != '')) { 74 $filename = $row['value'] . DIRECTORY_SEPARATOR . "pdo_mysql_exec_load_data.csv";
|
H A D | mysql_pdo_test.inc | 145 foreach ($db->query("show variables like 'have%'") as $row) { 146 … if (!empty($row) && $row[1] == 'YES' && ($row[0] == 'have_innodb' || $row[0] == 'have_bdb')) { 147 return str_replace("have_", "", $row[0]); 151 foreach ($db->query("SHOW ENGINES") as $row) { 152 if (isset($row['engine']) && isset($row['support'])) { 153 … if ('InnoDB' == $row['engine'] && ('YES' == $row['support'] || 'DEFAULT' == $row['support']))
|
H A D | bug_38546.phpt | 54 foreach ($db->query('SELECT * from test') as $row) { 55 print_r($row); 80 foreach ($db->query('SELECT * from test') as $row) { 81 print_r($row); 106 foreach ($db->query('SELECT * from test') as $row) { 107 print_r($row); 133 foreach ($db->query('SELECT * from test') as $row) { 134 print_r($row); 160 foreach ($db->query('SELECT * from test') as $row) { 161 print_r($row); [all …]
|
/PHP-8.1/ext/opcache/tests/jit/ |
H A D | inc_020.phpt | 14 function foo($row) { 15 foreach ($row as $key => $value) { 19 if (isset($row[$key])) {
|
/PHP-8.1/ext/pdo_oci/tests/ |
H A D | bug46274_2.phpt | 52 var_dump($row = $res->fetch()); 53 var_dump(fread($row[0], 1024)); 54 fclose($row[0]); 57 var_dump($row = $res->fetch()); 58 var_dump(fread($row[0], 1024)); 59 fclose($row[0]);
|
/PHP-8.1/ext/pdo_odbc/tests/ |
H A D | max_columns.phpt | 36 foreach ($db->query('SELECT id, data from TEST') as $row) { 37 $expect = str_repeat('i', $row[0]); 38 if (strcmp($expect, $row[1])) { 39 echo "Failed on size $row[id]:\n"; 40 printf("Expected %d bytes, got %d\n", strlen($expect), strlen($row['data'])); 42 echo bin2hex($row['data']) . "\n";
|
/PHP-8.1/ext/pdo_firebird/tests/ |
H A D | ignore_parammarks.phpt | 24 $row = $query->fetch(\PDO::FETCH_OBJ); 25 var_dump($row->N); 35 $row = $query->fetch(\PDO::FETCH_OBJ); 36 var_dump($row->N);
|
/PHP-8.1/ext/pgsql/tests/ |
H A D | bug60244.phpt | 2 Bug #60244 (pg_fetch_* functions do not validate that row param is >0) 47 pg_fetch_array(): Argument #2 ($row) must be greater than or equal to 0 48 pg_fetch_assoc(): Argument #2 ($row) must be greater than or equal to 0 49 pg_fetch_object(): Argument #2 ($row) must be greater than or equal to 0 50 pg_fetch_row(): Argument #2 ($row) must be greater than or equal to 0
|
/PHP-8.1/ext/sqlite3/tests/ |
H A D | sqlite3_36_create_collation.phpt | 24 while ($row = $defaultSort->fetchArray()){ 25 echo $row['s'], "\n"; 29 while ($row = $naturalSort->fetchArray()){ 30 echo $row['s'], "\n";
|
/PHP-8.1/ext/pdo_sqlite/tests/ |
H A D | pdo_sqlite_createcollation.phpt | 20 foreach ($result as $row) { 21 echo $row['name'] . "\n"; 25 foreach ($result as $row) { 26 echo $row['name'] . "\n";
|