/PHP-5.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_exec.phpt | 81 if (count($tmp) > 1 || !isset($tmp[0]['p_version'])) { 83 var_dump($tmp); 90 if (count($tmp) > 1 || !isset($tmp[0]['_version'])) { 92 var_dump($tmp); 97 $tmp[0]['_version'], gettype($tmp[0]['_version'])); 119 if (count($tmp) > 1 || !isset($tmp[0]['f_version'])) { 121 var_dump($tmp); 127 if (count($tmp) > 1 || !isset($tmp[0]['_version'])) { 129 var_dump($tmp); 134 $tmp[0]['_version'], gettype($tmp[0]['_version'])); [all …]
|
H A D | pdo_mysql_prepare_native.phpt | 25 $tmp = $db->errorInfo(); 35 ($error_info['prepare']['mysql'] !== $tmp[1])) { 60 $tmp = $stmt->errorInfo(); 61 if (isset($tmp[1]) && ($tmp[1] == 2030)) { 180 var_dump($tmp); 237 $tmp = $stmt->fetchAll(PDO::FETCH_ASSOC); 254 if ($tmp !== $exp) { 257 var_dump($tmp); 299 $tmp = $stmt->fetchAll(PDO::FETCH_ASSOC); 308 if ($tmp !== $exp) { [all …]
|
/PHP-5.3/ext/standard/tests/streams/ |
H A D | stream_get_meta_data_file_variation1.phpt | 43 string(%i) "%s.tmp" 63 string(%i) "%s.tmp" 83 string(%i) "%s.tmp" 103 string(%i) "%s.tmp" 123 string(%i) "%s.tmp" 143 string(%i) "%s.tmp" 163 string(%i) "%s.tmp" 183 string(%i) "%s.tmp" 203 string(%i) "%s.tmp" 223 string(%i) "%s.tmp" [all …]
|
/PHP-5.3/ext/mysqli/tests/ |
H A D | mysqli_options.phpt | 30 $tmp = NULL; 33 if (!is_null($tmp = @mysqli_options())) 34 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 36 if (!is_null($tmp = @mysqli_options($link))) 37 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 46 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 48 if (!is_null($tmp = @mysqli_options($link, "s", 'extra_my.cnf'))) 49 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 52 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 68 $tmp = mysqli_fetch_assoc($res); [all …]
|
H A D | mysqli_stmt_num_rows.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_stmt_num_rows())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_stmt_num_rows($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 44 if ($expected !== ($tmp = mysqli_stmt_num_rows($stmt))) 47 gettype($tmp), $tmp); 80 if (0 !== ($tmp = mysqli_stmt_num_rows($stmt))) 81 printf("[53 - %03d] Expecting int/0, got %s/%s\n", $i, gettype($tmp), $tmp); 96 printf("[54] Expecting int/7, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_kill.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_kill())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_kill($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[003] Expecting boolean/any, got %s/%s\n", gettype($tmp), $tmp); 31 $tmp = mysqli_kill($link, $thread_id); 32 if (!is_bool($tmp)) 33 printf("[005] Expecting boolean/any, got %s/%s\n", gettype($tmp), $tmp); 63 (!$tmp = mysqli_fetch_assoc($res))) { [all …]
|
H A D | mysqli_pconn_twice.phpt | 23 if (true !== ($tmp = my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))) 24 printf("[003] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 42 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket))) 43 printf("[009] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 56 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 57 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 63 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 64 printf("[015] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_real_escape_string_big5.phpt | 45 if ('���H�U���e\\\\���H�U���e' !== ($tmp = mysqli_real_escape_string($link, 47 printf("[004] Expecting \\\\, got %s\n", $tmp); 49 if ('���H�U���e\"���H�U���e' !== ($tmp = mysqli_real_escape_string($link, 51 printf("[005] Expecting \", got %s\n", $tmp); 53 if ("���H�U���e\'���H�U���e" !== ($tmp = mysqli_real_escape_string($link, 55 printf("[006] Expecting ', got %s\n", $tmp); 57 if ("���H�U���e\\n���H�U���e" !== ($tmp = mysqli_real_escape_string($link, 59 printf("[007] Expecting \\n, got %s\n", $tmp); 61 if ("���H�U���e\\r���H�U���e" !== ($tmp = mysqli_real_escape_string($link, 63 printf("[008] Expecting \\r, got %s\n", $tmp); [all …]
|
H A D | mysqli_errno_oo.phpt | 13 $tmp = NULL; 17 if (0 !== ($tmp = @$mysqli->errno)) 18 printf("[001] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 34 if (($tmp = $mysqli->errno) === 0) 35 printf("[004] Expecting int/any non zero 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_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_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_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);
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | file_variation.phpt | 18 $fh = fopen($file_path."/file_variation.tmp", "w"); 32 var_dump( file("file1_variation.tmp", FILE_USE_INCLUDE_PATH) ); 33 var_dump( file($file_path1."/file1_variation.tmp", 1) ); 36 $file_handle = fopen($file_path."/file2_variation.tmp", "w"); 39 $out_array = file($file_path."/file2_variation.tmp"); 43 $file_handle2 = fopen($file_path."/file3_variation.tmp", "w"); 50 var_dump( file($file_path."/file3_variation.tmp" )); 60 unlink($file_path."/file_variation.tmp"); 61 unlink($file_path."/file_variation/file1_variation.tmp"); 62 unlink($file_path."/file2_variation.tmp"); [all …]
|
H A D | tempnam_variation2.phpt | 49 $file_name = tempnam($dir_paths[$i], "tempnam_variation2.tmp"); 94 File name is => %s/tempnam_variation2/tempnam_variation2_sub/tempnam_variation2.tmp%s 104 File name is => %s/tempnam_variation2/tempnam_variation2.tmp%s 109 File name is => %s/tempnam_variation2/tempnam_variation2.tmp%s 114 File name is => %s/tempnam_variation2/tempnam_variation2.tmp%s 119 File name is => %s/tempnam_variation2/tempnam_variation2.tmp%s 124 File name is => %s/tempnam_variation2.tmp%s 129 File name is => %s/tempnam_variation2.tmp%s 134 File name is => %s/tempnam_variation2.tmp%s 139 File name is => %s/tempnam_variation2.tmp%s [all …]
|
H A D | rename_variation3.phpt | 19 $filename = $file_path."/rename_variation1.tmp"; 23 $linkname = $file_path."/rename_variation_hard_link1.tmp"; 27 $dest_linkname = $file_path."/rename_variation_hard_link2.tmp"; 34 var_dump( rename($dest_linkname, $dest_dir."/rename_variation_hard_link2.tmp") ); 37 var_dump( file_exists($dest_dir."/rename_variation_hard_link2.tmp") ); // expecting true 40 unlink($dest_dir."/rename_variation_hard_link2.tmp"); 47 unlink($file_path."/rename_variation_hard_link1.tmp");
|
H A D | rename_variation13.phpt | 20 $aFile = $file_path.'/afile.tmp'; 67 Warning: rename(-1,%s/renameVar13/afile.tmp): No such file or directory in %s on line %d 72 Warning: rename(1,%s/renameVar13/afile.tmp): No such file or directory in %s on line %d 76 Warning: rename(%s/renameVar13/afile.tmp,): %s in %s on line %d 79 Warning: rename(,%s/renameVar13/afile.tmp): %s in %s on line %d 83 Warning: rename(%s/renameVar13/afile.tmp,): %s in %s on line %d 86 Warning: rename(,%s/renameVar13/afile.tmp): %s in %s on line %d 90 Warning: rename(%s/renameVar13/afile.tmp,): %s in %s on line %d 93 Warning: rename(,%s/renameVar13/afile.tmp): %s in %s on line %d 121 Warning: rename(%s/renameVar13/afile.tmp,php/php): %s directory in %s on line %d [all …]
|
/PHP-5.3/ext/gd/libgd/ |
H A D | gdkanji.c | 76 char *tmp; in error() local 83 efree(tmp); in error() 489 ustrcpy (tmp, from); in do_check_and_conv() 494 ustrcpy (tmp, from); in do_check_and_conv() 502 ustrcpy (tmp, from); in do_check_and_conv() 523 if (tmp[i] == SS2) in do_check_and_conv() 525 p1 = tmp[++i]; in do_check_and_conv() 528 p2 = tmp[i + 2]; in do_check_and_conv() 542 to[j++] = tmp[i]; in do_check_and_conv() 548 ustrcpy (to, tmp); in do_check_and_conv() [all …]
|
/PHP-5.3/ext/standard/ |
H A D | http_fopen_wrapper.c | 94 char *tmp = NULL; in php_stream_url_wrap_http_ex() local 397 tmp = NULL; in php_stream_url_wrap_http_ex() 424 if (tmp && strlen(tmp) > 0) { in php_stream_url_wrap_http_ex() 435 memmove(tmp, tmp + (s2 + 1 - tmp_c), b); in php_stream_url_wrap_http_ex() 453 efree(tmp); in php_stream_url_wrap_http_ex() 454 tmp = tmp_c; in php_stream_url_wrap_http_ex() 460 php_strtolower(tmp, strlen(tmp)); in php_stream_url_wrap_http_ex() 514 if (tmp) { in php_stream_url_wrap_http_ex() 515 efree(tmp); in php_stream_url_wrap_http_ex() 541 efree(tmp); in php_stream_url_wrap_http_ex() [all …]
|
H A D | crypt_blowfish.c | 382 tmp = BF_atoi64[tmp]; \ 384 (dst) = tmp; \ 450 BF_word tmp; in BF_swap() local 454 tmp = *x; in BF_swap() 455 tmp = (tmp << 16) | (tmp >> 16); in BF_swap() 456 *x++ = ((tmp & 0x00FF00FF) << 8) | ((tmp >> 8) & 0x00FF00FF); in BF_swap() 595 tmp[0] = tmp[1] = 0; in BF_set_key() 597 tmp[0] <<= 8; in BF_set_key() 599 tmp[1] <<= 8; in BF_set_key() 614 diff |= tmp[0] ^ tmp[1]; /* Non-zero on any differences */ in BF_set_key() [all …]
|
/PHP-5.3/ext/bz2/ |
H A D | bz2_filter.c | 356 zval tmp, *tmp2; in php_bz2_filter_create() local 358 tmp = **tmpzval; in php_bz2_filter_create() 360 tmp2 = &tmp; in php_bz2_filter_create() 372 zval tmp, *tmp2; in php_bz2_filter_create() local 374 tmp = **tmpzval; in php_bz2_filter_create() 376 tmp2 = &tmp; in php_bz2_filter_create() 394 zval tmp; in php_bz2_filter_create() local 396 tmp = **tmpzval; in php_bz2_filter_create() 399 if (Z_LVAL(tmp) < 1 || Z_LVAL(tmp) > 9) { in php_bz2_filter_create() 408 zval tmp; in php_bz2_filter_create() local [all …]
|
/PHP-5.3/ext/mysql/tests/ |
H A D | mysql_get_host_info.phpt | 12 if (NULL !== ($tmp = @mysql_get_host_info(NULL))) 13 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 33 if (!is_null($tmp = @mysql_get_host_info($link, "too many arguments"))) { 34 printf("[006] Expecting NULL/NULL got %s/%s\n", $tmp, gettype($tmp));
|
H A D | mysql_get_server_info.phpt | 12 if (null !== ($tmp = @mysql_get_server_info(NULL))) 13 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 33 if (NULL !== ($tmp = @mysql_get_server_info('too many', 'just too many'))) 34 printf("[006] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
|
/PHP-5.3/ext/standard/tests/time/ |
H A D | idate.phpt | 6 $tmp = "UYzymndjHGhgistwLBIW"; 7 for($a = 0;$a < strlen($tmp); $a++){ 8 echo $tmp[$a], ': ', idate($tmp[$a], 1043324459)."\n";
|
/PHP-5.3/ext/gd/tests/ |
H A D | imagerotate_overflow.phpt | 18 $tmp = imagerotate ($im, 5, -9999999); 20 var_dump($tmp); 22 if ($tmp) { 23 imagedestroy($tmp);
|