/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_store_result.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_store_result())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_store_result($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 if (true !== ($tmp = mysqli_data_seek($res, 2))) 33 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); 47 if (false !== ($tmp = mysqli_data_seek($res, 1))) 49 gettype($tmp), $tmp); 53 if (false !== ($tmp = mysqli_store_result($link))) [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 NULL got %s/%s\n", gettype($tmp), $tmp); 79 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp); 86 printf("[014] Expecting boolan/false got %s/%s\n", gettype($tmp), $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 false got %s/%s\n", gettype($tmp), $tmp); 104 printf("[018] Expecting false got %s/%s\n", gettype($tmp), $tmp); 109 printf("[019] Expecting false got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_get_proto_info.phpt | 13 if (!is_null($tmp = @mysqli_get_proto_info())) 14 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 16 if (!is_null($tmp = @mysqli_get_proto_info(NULL))) 17 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 if (!is_null($tmp = @mysqli_get_proto_info('too many', 'arguments'))) 24 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_get_server_info.phpt | 13 if (!is_null($tmp = @mysqli_get_server_info())) 14 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 16 if (!is_null($tmp = @mysqli_get_server_info(NULL))) 17 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 if (!is_null($tmp = @mysqli_get_server_info('too', 'many arguments'))) 24 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_set_charset.phpt | 17 !($tmp = mysqli_fetch_assoc($res))) { 27 $tmp['server_version'])); 51 $tmp = NULL; 55 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 58 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 61 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 67 $tmp = mysqli_fetch_assoc($res); 92 $tmp = mysqli_fetch_assoc($res); 94 if ($new_charset !== $tmp['charset']) 101 …if ('ucs2' == $tmp['Charset'] || 'utf16' == $tmp['Charset'] || 'utf32' == $tmp['Charset'] || 'utf1… [all …]
|
H A D | mysqli_num_fields.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_num_fields())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_num_fields($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 if ($expected !== ($tmp = mysqli_num_fields($res))) 34 gettype($tmp), $tmp); 38 if ($test_free && (false !== ($tmp = mysqli_num_fields($res)))) 39 printf("[%03d] Expecting false, got %s/%s\n", $offset + 2, gettype($tmp), $tmp);
|
H A D | 065.phpt | 24 $tmp = null; 28 if (3 !== ($tmp = strlen($mysql->real_escape_string($esc_str)))) 29 printf("[003] Expecting 3/int got %s/%s\n", gettype($tmp), $tmp); 31 if ('latin1' !== ($tmp = $mysql->character_set_name())) 32 printf("[004] Expecting latin1/string got %s/%s\n", gettype($tmp), $tmp); 40 if (2 !== ($tmp = strlen($mysql->real_escape_string($esc_str)))) 41 printf("[005] Expecting 2/int got %s/%s\n", gettype($tmp), $tmp); 43 if ('gbk' !== ($tmp = $mysql->character_set_name())) 44 printf("[005] Expecting gbk/string got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_init.phpt | 18 $tmp = NULL; 21 if (!is_null($tmp = @mysqli_stmt_init())) 22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 24 if (!is_null($tmp = @mysqli_stmt_init($link))) 25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 if (NULL !== ($tmp = mysqli_stmt_init($stmt))) 38 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 42 if (false !== ($tmp = mysqli_stmt_init($link))) 43 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_use_result.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_use_result())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_use_result($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 if (false !== ($tmp = mysqli_data_seek($res, 2))) 33 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); 47 if (false !== ($tmp = mysqli_data_seek($res, 1))) 49 gettype($tmp), $tmp); 53 if (false !== ($tmp = mysqli_use_result($link))) [all …]
|
H A D | mysqli_set_opt.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_set_opt())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_set_opt($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 24 if (!is_null($tmp = @mysqli_set_opt($link, MYSQLI_OPT_CONNECT_TIMEOUT))) 25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 if (!is_null($tmp = @mysqli_set_opt($link, "s", 'extra_my.cnf'))) 28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 30 if (!is_null($tmp = @mysqli_set_opt($link, MYSQLI_INIT_COMMAND, 'SET AUTOCOMMIT=0', 'foo'))) [all …]
|
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_stmt_send_long_data.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); 61 $tmp = ''; 64 $tmp .= 'a'; 69 $blob .= $tmp; 81 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 85 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 89 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); [all …]
|
H A D | mysqli_stmt_store_result.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_stmt_store_result())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_stmt_store_result($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[003] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 31 if (false !== ($tmp = @mysqli_stmt_store_result($stmt))) 32 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 38 if (true !== ($tmp = @mysqli_stmt_store_result($stmt))) 39 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_begin_transaction.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] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[007] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 52 printf("[010] Cannot turn on autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 61 $tmp = mysqli_rollback($link); 62 if ($tmp !== true) [all …]
|
H A D | mysqli_real_escape_string_sjis.phpt | 26 if ('?p??\\\\?p??' !== ($tmp = mysqli_real_escape_string($link, '?p??\\?p??'))) 27 printf("[004] Expecting \\\\, got %s\n", $tmp); 29 if ('?p??\"?p??' !== ($tmp = mysqli_real_escape_string($link, '?p??"?p??'))) 30 printf("[005] Expecting \", got %s\n", $tmp); 32 if ("?p??\'?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??'?p??"))) 33 printf("[006] Expecting ', got %s\n", $tmp); 35 if ("?p??\\n?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??\n?p??"))) 36 printf("[007] Expecting \\n, got %s\n", $tmp); 38 if ("?p??\\r?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??\r?p??"))) 39 printf("[008] Expecting \\r, got %s\n", $tmp); [all …]
|
/PHP-7.4/ext/date/tests/ |
H A D | date.phpt | 5 $tmp = "cr"; 8 for($a = 0;$a < strlen($tmp); $a++){ 9 echo $tmp[$a], ': ', date($tmp[$a], 1043324459)."\n"; 14 for($a = 0;$a < strlen($tmp); $a++){ 15 echo $tmp[$a], ': ', date($tmp[$a], 1043324459)."\n";
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | fopen_variation14-win32.phpt | 23 $file = "fopen_variation14.tmp"; 104 --- READ: file://fopen14.tmpDir\fopen_variation14.tmp --- 109 --- WRITE: file://fopen14.tmpDir\fopen_variation14.tmp --- 114 --- READ: file://fopen14.tmpDir/fopen_variation14.tmp --- 119 --- WRITE: file://fopen14.tmpDir/fopen_variation14.tmp --- 124 --- READ: file://./fopen14.tmpDir/fopen_variation14.tmp --- 129 --- WRITE: file://./fopen14.tmpDir/fopen_variation14.tmp --- 134 --- READ: file://.\fopen14.tmpDir\fopen_variation14.tmp --- 139 --- WRITE: file://.\fopen14.tmpDir\fopen_variation14.tmp --- 144 --- READ: file://%s/fopen14.tmpDir/fopen_variation14.tmp --- [all …]
|
H A D | readlink_realpath_basic2.phpt | 32 "$file_path/readlink_realpath_basic2/home/readlink_realpath_basic2.tmp", 33 "$file_path/readlink_realpath_basic2/readlink_realpath_basic2.tmp", 35 "$file_path/readlink_realpath_basic2/home//../././readlink_realpath_basic2.tmp", 40 "$file_path/readlink_realpath_basic2/readlink_realpath_basic2.tmp/" 56 unlink("$name_prefix/home/test/readlink_realpath_basic2.tmp"); 57 unlink("$name_prefix/home/readlink_realpath_basic2.tmp"); 58 unlink("$name_prefix/readlink_realpath_basic2.tmp"); 67 string(%d) "%s/readlink_realpath_basic2/home/readlink_realpath_basic2.tmp" 70 string(%d) "%s/readlink_realpath_basic2/readlink_realpath_basic2.tmp" 73 string(%d) "%s/readlink_realpath_basic2/home/test/readlink_realpath_basic2.tmp" [all …]
|
H A D | fopen_variation15-win32.phpt | 24 $file = "fopen_variation15.tmp"; 108 --- READ: file://fopen15.tmpDir\fopen_variation15.tmp --- 113 --- WRITE: file://fopen15.tmpDir\fopen_variation15.tmp --- 118 --- READ: file://fopen15.tmpDir/fopen_variation15.tmp --- 123 --- WRITE: file://fopen15.tmpDir/fopen_variation15.tmp --- 128 --- READ: file://./fopen15.tmpDir/fopen_variation15.tmp --- 133 --- WRITE: file://./fopen15.tmpDir/fopen_variation15.tmp --- 138 --- READ: file://.\fopen15.tmpDir\fopen_variation15.tmp --- 143 --- WRITE: file://.\fopen15.tmpDir\fopen_variation15.tmp --- 148 --- READ: file://%s/fopen15.tmpDir/fopen_variation15.tmp --- [all …]
|
H A D | realpath_basic-win32.phpt | 31 "$file_path/realpath_basic/home/realpath_basic.tmp", 32 "$file_path/realpath_basic/realpath_basic.tmp/", 33 "$file_path/realpath_basic//home/test//../test/./realpath_basic.tmp", 34 "$file_path/realpath_basic/home//../././realpath_basic.tmp//", 37 "$file_path/realpath_basic/home/realpath_basic.tmp", 57 unlink("$name_prefix/home/test/realpath_basic.tmp"); 58 unlink("$name_prefix/home/realpath_basic.tmp"); 59 unlink("$name_prefix/realpath_basic.tmp"); 70 string(%d) "%s\realpath_basic\home\realpath_basic.tmp" 76 string(%d) "%s\realpath_basic\home\test\realpath_basic.tmp" [all …]
|
H A D | copy_variation2.phpt | 30 "_copy_variation2.tmp", 31 "@copy_variation2.tmp", 32 "#copy_variation2.tmp", 33 "+copy_variation2.tmp", 34 "*copy_variation2.tmp", 35 "?copy_variation2.tmp", 36 "<copy_variation2.tmp", 37 ">copy_variation2.tmp", 38 "!copy_variation2.tmp", 39 "©_variation2.tmp", [all …]
|
/PHP-7.4/ext/standard/tests/streams/ |
H A D | stream_copy_to_stream_socket.phpt | 12 $tmp = tmpfile(); 16 stream_copy_to_stream($sockets[1], $tmp); 18 fseek($tmp, 0, SEEK_SET); 19 var_dump(stream_get_contents($tmp)); 21 stream_copy_to_stream($sockets[1], $tmp); 23 fseek($tmp, 0, SEEK_SET); 24 var_dump(stream_get_contents($tmp));
|
/PHP-7.4/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_memory_device.c | 69 unsigned char *tmp; in mbfl_memory_device_realloc() local 74 if (tmp != NULL) { in mbfl_memory_device_realloc() 145 unsigned char *tmp; in mbfl_memory_device_output() local 154 if (tmp == NULL) { in mbfl_memory_device_output() 173 unsigned char *tmp; in mbfl_memory_device_output2() local 182 if (tmp == NULL) { in mbfl_memory_device_output2() 203 unsigned char *tmp; in mbfl_memory_device_output4() local 212 if (tmp == NULL) { in mbfl_memory_device_output4() 251 if (tmp == NULL) { in mbfl_memory_device_strncat() 304 unsigned int *tmp; in mbfl_wchar_device_output() local [all …]
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_last_insert_id.phpt | 16 if ('0' !== ($tmp = $db->lastInsertId())) 18 var_export($tmp, true), gettype($tmp)); 22 var_export($tmp, true), gettype($tmp)); 25 if ('0' !== ($tmp = $db->lastInsertId())) 26 printf("[003] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 30 printf("[004] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 34 printf("[005] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 39 printf("[006] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 43 printf("[006] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 48 printf("[007] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); [all …]
|
/PHP-7.4/ext/opcache/tests/ |
H A D | bug65915.phpt | 11 $tmp = __DIR__ . "/bug65915.inc.php"; 13 file_put_contents($tmp, '<?php return function(){ return "a";};'); 14 $f = require $tmp; 17 var_dump(opcache_invalidate($tmp, true)); 19 file_put_contents($tmp, '<?php return function(){ return "b";};'); 20 $f = require $tmp; 23 @unlink($tmp);
|