/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_real_query.phpt | 12 $tmp = NULL; 16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 24 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 58 if (!is_array($tmp) || empty($tmp) || !isset($tmp['p_version']) || ('' == $tmp['p_version'])) { 60 var_dump($tmp); 74 if (!is_array($tmp) || empty($tmp) || !isset($tmp['f_version']) || ('' == $tmp['f_version'])) { 76 var_dump($tmp); [all …]
|
H A D | mysqli_stmt_result_metadata.phpt | 13 $tmp = NULL; 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[006] Expecting object, got %s/%s\n", gettype($tmp), $tmp); 38 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); 58 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); 60 if (empty($tmp[0]) || empty($tmp[1]) || $tmp[0] != $field0_direct) { 62 var_dump($tmp); 75 var_dump($tmp); [all …]
|
H A D | mysqli_get_warnings.phpt | 16 $tmp = NULL; 20 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 33 …] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : … 46 …ing object/mysqli_warning, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : … 66 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 75 …ing object/mysqli_warning, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : … 79 printf("[018] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 82 printf("[020] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_query.phpt | 13 $tmp = NULL; 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[002a] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp); 28 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 49 var_dump($tmp[""]); 63 if (!is_array($tmp) || empty($tmp) || !isset($tmp['p_version']) || ('' == $tmp['p_version'])) { 65 var_dump($tmp); 78 if (!is_array($tmp) || empty($tmp) || !isset($tmp['f_version']) || ('' == $tmp['f_version'])) { 80 var_dump($tmp); [all …]
|
H A D | mysqli_stmt_prepare.phpt | 19 $tmp = NULL; 22 if (!is_null($tmp = @mysqli_stmt_prepare())) 23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 if (!is_null($tmp = @mysqli_stmt_prepare($link))) 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 33 if (NULL !== ($tmp = @mysqli_stmt_prepare($stmt))) 34 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 36 if (false !== ($tmp = mysqli_stmt_prepare($stmt, ''))) 37 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 39 if (true !== ($tmp = mysqli_stmt_prepare($stmt, 'SELECT id FROM test'))) [all …]
|
H A D | mysqli_query_unicode.phpt | 19 $tmp = NULL; 23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 printf("[002.5] Expecting TRUE, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 62 if (!is_array($tmp) || empty($tmp) || !isset($tmp['п_версия']) || ('' == $tmp['п_версия'])) { 64 var_dump($tmp); 77 if (!is_array($tmp) || empty($tmp) || !isset($tmp['ф_версия']) || ('' == $tmp['ф_версия'])) { 79 var_dump($tmp); [all …]
|
H A D | mysqli_send_query.phpt | 20 $tmp = NULL; 23 if (NULL !== ($tmp = @mysqli_send_query())) 24 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 26 if (NULL !== ($tmp = @mysqli_send_query($link))) 27 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 35 if (NULL !== ($tmp = @mysqli_send_query($link, $query))) 36 printf("[004] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 38 if (!is_int($tmp = mysqli_send_query($link, 'SELECT 1'))) 39 printf("[005] Expecting integer/any value, got %s/%s\n", gettype($tmp), $tmp); 43 if (NULL !== ($tmp = mysqli_send_query($link, 'SELECT 1'))) [all …]
|
H A D | mysqli_commit.phpt | 20 $tmp = NULL; 24 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[005] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 48 $tmp = mysqli_commit($link); 49 if ($tmp !== true) 50 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 57 $tmp = mysqli_fetch_assoc($res); 58 if (1 != $tmp['num']) [all …]
|
H A D | mysqli_rollback.phpt | 22 $tmp = NULL; 26 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[005] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 50 $tmp = mysqli_rollback($link); 51 if ($tmp !== true) 52 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 56 $tmp = mysqli_fetch_assoc($res); 57 if (0 != $tmp['num']) [all …]
|
H A D | mysqli_error_unicode.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_error())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_error($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 $tmp = mysqli_error($link); 32 if (!is_string($tmp) || ('' !== $tmp)) 33 …printf("[004] Expecting string/empty, got %s/%s. [%d] %s\n", gettype($tmp), $tmp, mysqli_errno($li… 37 $tmp = mysqli_error($link); 38 var_dump(str_replace($db.".", "", $tmp));
|
H A D | mysqli_stmt_insert_id.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_stmt_insert_id())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 if (!is_null($tmp = @mysqli_insert_id($link))) 21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[003] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 34 if (0 !== ($tmp = mysqli_stmt_insert_id($stmt))) 35 printf("[005] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 45 if (0 !== ($tmp = mysqli_stmt_insert_id($stmt))) 46 printf("[007] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_get_result_seek.phpt | 65 printf("[011] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp); 68 printf("[012] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp); 71 printf("[013] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp); 78 if (true !== $tmp) 85 if (false !== $tmp) 93 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp); 96 printf("[016] Expecting array got %s/%s\n", gettype($tmp), $tmp); 101 printf("[017] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 104 printf("[018] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 109 printf("[019] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_attr_set.phpt | 13 $tmp = NULL; 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 45 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 151 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 154 printf("[011] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 160 printf("[013] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 163 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_close.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_stmt_close())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_stmt_close($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 if (!is_null($tmp = mysqli_stmt_close($stmt))) 29 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 38 printf("[007] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 57 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_autocommit.phpt | 22 $tmp = NULL; 26 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 32 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[005] Expecting boolean/any, got %s/%s\n", gettype($tmp), $tmp); 54 printf("[009] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 79 if ((!$tmp = mysqli_fetch_assoc($res)) || (1 != $tmp['num'])) 99 printf("[022] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 114 if (0 != $tmp['num']) 127 if ((!$tmp = mysqli_fetch_assoc($res)) || (1 != $tmp['num'])) [all …]
|
H A D | mysqli_disable_reads_from_master.phpt | 17 $tmp = NULL; 20 if (NULL !== ($tmp = @mysqli_disable_reads_from_master())) 21 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 23 if (NULL !== ($tmp = @mysqli_disable_reads_from_master($link))) 24 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 31 if (!is_bool($tmp = mysqli_disable_reads_from_master($link))) 32 printf("[004] Expecting boolean/[true|false] value, got %s/%s\n", gettype($tmp), $tmp); 36 if (NULL !== ($tmp = mysqli_disable_reads_from_master($link))) 37 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_enable_reads_from_master.phpt | 17 $tmp = NULL; 20 if (NULL !== ($tmp = @mysqli_enable_reads_from_master())) 21 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 23 if (NULL !== ($tmp = @mysqli_enable_reads_from_master($link))) 24 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 31 if (!is_bool($tmp = mysqli_enable_reads_from_master($link))) 32 printf("[004] Expecting boolean/[true|false] value, got %s/%s\n", gettype($tmp), $tmp); 36 if (NULL !== ($tmp = mysqli_enable_reads_from_master($link))) 37 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_dump_debug_info.phpt | 13 $tmp = NULL; 16 if (NULL !== ($tmp = @mysqli_dump_debug_info())) 17 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (NULL !== ($tmp = @mysqli_dump_debug_info($link))) 20 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 28 if (!is_bool($tmp = mysqli_dump_debug_info($link))) 30 gettype($tmp), $tmp, 35 if (NULL !== ($tmp = mysqli_dump_debug_info($link))) 37 gettype($tmp), $tmp,
|
H A D | mysqli_character_set_name_oo.phpt | 14 $tmp = NULL; 22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 $tmp = $res->fetch_assoc(); 28 $version = explode('.', $tmp['server_version']); 37 $tmp = $res->fetch_assoc(); 39 if (!$tmp['charset']) 43 if ($tmp['charset'] !== $charset) { 44 if ($tmp['collation'] === $charset) { 46 $tmp['collation'], $tmp['charset'], gettype($charset), $charset); 61 printf("[013] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
/PHP-5.5/ext/standard/tests/streams/ |
H A D | bug48309.phpt | 6 $tmp = tmpfile(); 7 fwrite($tmp, b'test'); 8 fseek($tmp, 0, SEEK_SET); 12 fseek($tmp, 0, SEEK_SET); 13 stream_copy_to_stream($tmp, STDOUT, 2); 16 var_dump(stream_get_contents($tmp)); 20 fseek($tmp, 0, SEEK_SET); 21 fpassthru($tmp); 24 var_dump(stream_get_contents($tmp));
|
/PHP-5.5/ext/date/lib/ |
H A D | timelib.c | 53 timelib_time *tmp = timelib_time_ctor(); in timelib_time_clone() local 54 memcpy(tmp, orig, sizeof(timelib_time)); in timelib_time_clone() 56 tmp->tz_abbr = strdup(orig->tz_abbr); in timelib_time_clone() 59 tmp->tz_info = orig->tz_info; in timelib_time_clone() 61 return tmp; in timelib_time_clone() 68 return tmp; in timelib_rel_time_clone() 121 tmp->bit32.leapcnt = tz->bit32.leapcnt; in timelib_tzinfo_clone() 140 return tmp; in timelib_tzinfo_clone() 292 long tmp; in timelib_parse_tz_cor() local 313 return HOUR(tmp / 100) + tmp % 100; in timelib_parse_tz_cor() [all …]
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | copy_variation7.phpt | 21 $file = $file_path."/copy_variation7.tmp"; 26 $symlink = $file_path."/copy_variation7_symlink.tmp"; 27 $hardlink = $file_path."/copy_variation7_hardlink.tmp"; 42 var_dump( is_link($file_path."/copy_copy_variation7_symlink.tmp") ); 43 var_dump( is_file($file_path."/copy_copy_variation7_symlink.tmp") ); 44 var_dump( filesize($file_path."/copy_copy_variation7_symlink.tmp") ); 61 unlink($file_path."/copy_copy_variation7_symlink.tmp"); 62 unlink($file_path."/copy_copy_variation7_hardlink.tmp"); 63 unlink($file_path."/copy_variation7_symlink.tmp"); 64 unlink($file_path."/copy_variation7_hardlink.tmp"); [all …]
|
/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_query.phpt | 12 $tmp = NULL; 16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 24 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 45 var_dump($tmp[""]); 57 if (!isset($tmp['p_version']) || ('' == $tmp['p_version'])) { 59 var_dump($tmp); 63 var_dump($tmp); 74 if (!isset($tmp['f_version']) || ('' == $tmp['f_version'])) { 76 var_dump($tmp); [all …]
|
/PHP-5.5/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_memory_device.c | 70 unsigned char *tmp; in mbfl_memory_device_realloc() local 75 if (tmp != NULL) { in mbfl_memory_device_realloc() 146 unsigned char *tmp; in mbfl_memory_device_output() local 150 if (tmp == NULL) { in mbfl_memory_device_output() 169 unsigned char *tmp; in mbfl_memory_device_output2() local 173 if (tmp == NULL) { in mbfl_memory_device_output2() 198 if (tmp == NULL) { in mbfl_memory_device_output4() 231 if (tmp == NULL) { in mbfl_memory_device_strcat() 258 if (tmp == NULL) { in mbfl_memory_device_strncat() 285 if (tmp == NULL) { in mbfl_memory_device_devcat() [all …]
|
/PHP-5.5/ext/hash/ |
H A D | hash_ripemd.c | 246 tmp = 0; in RIPEMD128Transform() 309 tmp = a; a = aa; aa = tmp; in RIPEMD256Transform() 317 tmp = b; b = bb; bb = tmp; in RIPEMD256Transform() 325 tmp = c; c = cc; cc = tmp; in RIPEMD256Transform() 333 tmp = d; d = dd; dd = tmp; in RIPEMD256Transform() 344 tmp = 0; in RIPEMD256Transform() 506 tmp = b; b = bb; bb = tmp; in RIPEMD320Transform() 514 tmp = d; d = dd; dd = tmp; in RIPEMD320Transform() 522 tmp = a; a = aa; aa = tmp; in RIPEMD320Transform() 530 tmp = c; c = cc; cc = tmp; in RIPEMD320Transform() [all …]
|