/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_fetch_all.phpt | 15 $tmp = NULL; 18 if (!is_null($tmp = @mysqli_fetch_all())) 19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 21 if (!is_null($tmp = @mysqli_fetch_all($link))) 22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 87 $tmp = mysqli_fetch_all($res, $illegal_mode); 88 if (false !== $tmp) 90 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); 130 if (!$tmp = mysqli_fetch_all($res, MYSQLI_BOTH)) { 134 $row = $tmp[0]; [all …]
|
H A D | mysqli_fetch_all_oo.phpt | 16 $tmp = NULL; 88 $tmp = $res->fetch_all($illegal_mode); 89 if (false !== $tmp) 91 gettype($tmp), $tmp, $mysqli->errno, $mysqli->error); 131 if (!$tmp = $res->fetch_all(MYSQLI_BOTH)) { 135 $row = $tmp[0]; 301 if (null !== ($tmp = $res->fetch_array(MYSQLI_ASSOC))) 302 printf("[015] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_fetch_array.phpt | 12 $tmp = NULL; 15 if (!is_null($tmp = @mysqli_fetch_array())) 16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 18 if (!is_null($tmp = @mysqli_fetch_array($link))) 19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 60 $tmp = mysqli_fetch_array($res, $illegal_mode); 61 if (false !== $tmp) 63 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); 66 if (false !== $tmp) 68 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); [all …]
|
H A D | mysqli_fetch_array_oo.phpt | 13 $tmp = NULL; 59 $tmp = $res->fetch_array($illegal_mode); 60 if (false !== $tmp) 62 gettype($tmp), $tmp, $mysqli->errno, $mysqli->error); 64 $tmp = $res->fetch_array($illegal_mode); 65 if (false !== $tmp) 67 gettype($tmp), $tmp, $mysqli->errno, $mysqli->error); 274 if (null !== ($tmp = $res->fetch_array(MYSQLI_ASSOC))) 275 printf("[015] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_fetch_assoc.phpt | 13 $tmp = NULL; 18 if (!is_null($tmp = @mysqli_fetch_assoc())) 19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 21 if (!is_null($tmp = @mysqli_fetch_assoc($link))) 22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 63 if (NULL !== ($tmp = mysqli_fetch_assoc($res))) 64 printf("[008] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_fetch_assoc_no_alias_utf8.phpt | 16 if (!$tmp = mysqli_fetch_assoc($res)) 19 if (strtolower($tmp['Charset']) !== 'utf8') 27 if (!$tmp = mysqli_fetch_assoc($res)) 30 if (strtolower($tmp['Charset']) !== 'ucs2')
|
H A D | mysqli_fetch_assoc_oo.phpt | 13 $tmp = NULL; 19 if (!is_null($tmp = @$res->fetch_assoc())) 20 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 if (!is_null($tmp = @$res->fetch_assoc($link))) 28 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 50 if (NULL !== ($tmp = $res->fetch_assoc())) 51 printf("[008] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_fetch_field.phpt | 13 $tmp = NULL; 17 if (!is_null($tmp = @mysqli_fetch_field())) 18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 $tmp = mysqli_fetch_field($res); 38 var_dump($tmp); 41 $tmp = mysqli_fetch_field($res); 42 var_dump($tmp); 51 if ($tmp->db != $db) { 53 $db, $tmp->db); [all …]
|
H A D | mysqli_fetch_field_direct.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_fetch_field_direct())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_fetch_field_direct($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 22 if (!is_null($tmp = @mysqli_fetch_field_direct($link, $link))) 23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 if (NULL !== ($tmp = mysqli_fetch_field_direct($res, 0))) 38 printf("Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_fetch_field_direct_oo.phpt | 13 $tmp = NULL; 18 if (!is_null($tmp = @$res->fetch_field_direct())) 19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 if (!is_null($tmp = @$res->fetch_field_direct())) 32 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 34 if (!is_null($tmp = @$res->fetch_field_direct($link))) 35 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 if (!is_null($tmp = @$res->fetch_field_direct($link, $link))) 38 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 46 if (NULL !== ($tmp = $res->fetch_field_direct(0))) [all …]
|
H A D | mysqli_fetch_field_oo.phpt | 13 $tmp = NULL; 19 if (!is_null($tmp = @$res->fetch_field())) 20 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 if (!is_null($tmp = @$res->fetch_field($link))) 28 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 43 $tmp = $res->fetch_field(); 44 var_dump($tmp); 53 if ($tmp->db != $db) { 55 $db, $tmp->db); 62 if (NULL !== ($tmp = $res->fetch_field())) [all …]
|
H A D | mysqli_fetch_fields.phpt | 13 $tmp = NULL; 17 if (!is_null($tmp = @mysqli_fetch_fields())) 18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 if (!is_null($tmp = @mysqli_fetch_fields($link))) 21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 58 if (NULL !== ($tmp = mysqli_fetch_fields($res))) 59 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_fetch_lengths.phpt | 16 if (!is_null($tmp = @mysqli_fetch_lengths())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_fetch_lengths($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_fetch_object.phpt | 15 $tmp = NULL; 18 if (!is_null($tmp = @mysqli_fetch_object())) 19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 21 if (!is_null($tmp = @mysqli_fetch_object($link))) 22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_fetch_object_no_constructor.phpt | 13 $tmp = NULL;
|
H A D | mysqli_fetch_object_oo.phpt | 14 $tmp = NULL; 19 if (!is_null($tmp = @$res->fetch_object())) 20 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 if (!is_null($tmp = @$res->fetch_object($link))) 32 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 34 if (!is_null($tmp = @$res->fetch_object($link, $link))) 35 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 if (!is_null($tmp = @$res->fetch_object($link, $link, $link))) 38 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_fetch_row.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_fetch_row())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_fetch_row($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_field_count.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_field_count())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_field_count($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_field_seek.phpt | 59 $tmp = NULL; 62 if (!is_null($tmp = @mysqli_field_seek())) 63 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 65 if (!is_null($tmp = @mysqli_field_seek($link))) 66 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 104 if (!is_null($tmp = @mysqli_field_seek($res, 0, "too many"))) 105 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_field_tell.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_field_tell())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_field_tell($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 34 if (!is_null($tmp = @mysqli_field_tell($res, 'too many arguments'))) 35 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_fork.phpt | 42 if (pcntl_wifexited($status) && (0 != ($tmp = pcntl_wexitstatus($status)))) { 101 $tmp = ob_get_contents(); 103 if (!mysqli_query($plink, sprintf($sql, $tmp))) 112 $tmp = mysqli_fetch_assoc($pres); 114 if ($tmp['msg_id'] == $msg_id) 117 if ($tmp['msg'] == 'stop') 119 $msg_id = $tmp['msg_id']; 202 if (pcntl_wifexited($status) && (0 != ($tmp = pcntl_wexitstatus($status)))) {
|
H A D | mysqli_free_result.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_free_result())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_free_result($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_get_charset.phpt | 15 $tmp = NULL; 19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 $tmp = mysqli_fetch_assoc($res); 42 $tmp = mysqli_fetch_assoc($res); 50 if (empty($tmp)) 53 $maxlen = (isset($tmp['Maxlen'])) ? $tmp['Maxlen'] : ''; 54 $comment = (isset($tmp['Description'])) ? $tmp['Description'] : ''; 60 if (!($id = $tmp['Id'])) [all …]
|
H A D | mysqli_get_client_stats.phpt | 83 $tmp = $link = null; 84 if (!is_null($tmp = @mysqli_get_client_stats($link))) 85 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_get_connection_stats.phpt | 17 $tmp = $link = null; 18 if (!is_null($tmp = @mysqli_get_connection_stats())) 19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 21 if (!is_null($tmp = @mysqli_get_connection_stats($link))) 22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|