Home
last modified time | relevance | path

Searched refs:tmp (Results 176 – 200 of 1152) sorted by relevance

12345678910>>...47

/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_fetch_assoc.phpt13 $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 (false !== ($tmp = mysqli_fetch_assoc($res)))
64 printf("[008] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_field_tell.phpt13 $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 Dmysqli_options.phpt30 $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);
67 $tmp = mysqli_fetch_assoc($res);
[all …]
H A Dmysqli_pconn_twice.phpt23 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 Dmysqli_real_escape_string_big5.phpt43 if ('���H�U���e\\\\���H�U���e' !== ($tmp = mysqli_real_escape_string($link,
45 printf("[004] Expecting \\\\, got %s\n", $tmp);
47 if ('���H�U���e\"���H�U���e' !== ($tmp = mysqli_real_escape_string($link,
49 printf("[005] Expecting \", got %s\n", $tmp);
51 if ("���H�U���e\'���H�U���e" !== ($tmp = mysqli_real_escape_string($link,
53 printf("[006] Expecting ', got %s\n", $tmp);
55 if ("���H�U���e\\n���H�U���e" !== ($tmp = mysqli_real_escape_string($link,
57 printf("[007] Expecting \\n, got %s\n", $tmp);
59 if ("���H�U���e\\r���H�U���e" !== ($tmp = mysqli_real_escape_string($link,
61 printf("[008] Expecting \\r, got %s\n", $tmp);
[all …]
H A Dmysqli_errno_oo.phpt13 $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 Dmysqli_field_count.phpt13 $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 Dmysqli_get_host_info.phpt13 if (!is_null($tmp = @mysqli_get_host_info()))
14 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
16 if (!is_null($tmp = @mysqli_get_host_info(NULL)))
17 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_send_long_data_packet_size_libmysql.phpt46 $tmp = '';
49 $tmp .= 'a';
54 $blob .= $tmp;
58 if (true != ($tmp = mysqli_stmt_send_long_data($stmt, 1, $blob)))
60 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
78 if (true != ($tmp = mysqli_stmt_send_long_data($stmt, 1, $blob2)))
80 … gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
83 if (false !== ($tmp = mysqli_stmt_execute($stmt)))
85 … gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
H A Dmysqli_report_wo_ps.phpt20 $tmp = NULL;
23 if (true !== ($tmp = mysqli_report(-1)))
24 … printf("[002] Expecting boolean/true even for invalid flags, got %s/%s\n", gettype($tmp), $tmp);
26 if (true !== ($tmp = mysqli_report(MYSQLI_REPORT_ERROR)))
27 printf("[003] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[004] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
33 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
35 if (true !== ($tmp = mysqli_report(MYSQLI_REPORT_ALL)))
36 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
38 if (true !== ($tmp = mysqli_report(MYSQLI_REPORT_OFF)))
[all …]
/PHP-7.4/ext/standard/tests/file/
H A Dis_readable_variation1.phpt22 $fp = fopen("$file_path/is_readable_variation1/bar.tmp", "w");
28 "$file_path/is_readable_variation1/bar.tmp",
31 "$file_path/is_readable_variation1/bar.tmp/",
34 "$file_path/is_readable_variation1//bar.tmp",
35 "$file_path//is_readable_variation1//bar.tmp",
36 "$file_path/is_readable_variation1/*.tmp",
37 "$file_path/is_readable_variation1/b*.tmp",
40 "$file_path/is_readable_variation1".chr(0)."bar.tmp",
41 "$file_path".chr(0)."is_readable_variation1/bar.tmp",
42 "$file_path".chr(0)."is_readable_variation1/bar.tmp",
[all …]
H A Dfile_variation.phpt18 $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" ));
59 unlink($file_path."/file_variation.tmp");
60 unlink($file_path."/file_variation/file1_variation.tmp");
61 unlink($file_path."/file2_variation.tmp");
[all …]
H A Drename_variation3.phpt19 $filename = $file_path."/rename_variation31.tmp";
23 $linkname = $file_path."/rename_variation3_hard_link1.tmp";
27 $dest_linkname = $file_path."/rename_variation3_hard_link2.tmp";
34 var_dump( rename($dest_linkname, $dest_dir."/rename_variation3_hard_link2.tmp") );
37 var_dump( file_exists($dest_dir."/rename_variation3_hard_link2.tmp") ); // expecting true
40 unlink($dest_dir."/rename_variation3_hard_link2.tmp");
47 unlink($file_path."/rename_variation3_hard_link1.tmp");
H A Dcopy_variation17.phpt15 $src_file = $file_path."/copy_variation17.tmp";
24 $file_path."/copy_variation17.tmp", //without wild-card char
25 $file_path."/copy*17.tmp",
26 $file_path."/*_variation17.tmp",
27 $file_path."/copy_variation*.tmp",
28 $file_path."/*.tmp"
31 $dest_file_name = $dir."/copy_copy_variation17.tmp";
50 unlink(__DIR__."/copy_variation17.tmp");
/PHP-7.4/ext/standard/tests/time/
H A Didate.phpt6 $tmp = "UYzymndjHGhgistwLBIW";
7 for($a = 0;$a < strlen($tmp); $a++){
8 echo $tmp[$a], ': ', idate($tmp[$a], 1043324459)."\n";
/PHP-7.4/ext/gd/tests/
H A Dimagerotate_overflow.phpt18 $tmp = imagerotate ($im, 5, -9999999);
20 var_dump($tmp);
22 if ($tmp) {
23 imagedestroy($tmp);
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_exec.phpt81 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 Dpdo_mysql_prepare_native.phpt25 $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-7.4/ext/standard/tests/streams/
H A Dstream_get_meta_data_file_variation1.phpt49 string(%i) "%s.tmp"
69 string(%i) "%s.tmp"
89 string(%i) "%s.tmp"
109 string(%i) "%s.tmp"
129 string(%i) "%s.tmp"
149 string(%i) "%s.tmp"
169 string(%i) "%s.tmp"
189 string(%i) "%s.tmp"
209 string(%i) "%s.tmp"
229 string(%i) "%s.tmp"
[all …]
/PHP-7.4/ext/mbstring/tests/
H A Dmb_check_encoding_array.phpt11 $tmp = &$arr;
12 $arr[] = $tmp;
18 $tmp = &$arr1;
19 $arr1[] = $tmp;
21 $tmp = &$arr2;
22 $arr2[] = $tmp;
/PHP-7.4/ext/opcache/tests/
H A Dblacklist.phpt16 /* On macOS, `/tmp` is an alias to `/private/tmp` .
17 * So, we should write `%S/tmp/path` as `/tmp/path`, except for Windows.
39 [5] => %S/tmp/path/?nocache.inc
40 [6] => %S/tmp/path/*/somedir
/PHP-7.4/ext/gd/libgd/
H A Dgdkanji.c74 char *tmp; in error() local
80 efree(tmp); in error()
482 ustrcpy (tmp, from); in do_check_and_conv()
487 ustrcpy (tmp, from); in do_check_and_conv()
495 ustrcpy (tmp, from); in do_check_and_conv()
516 if (tmp[i] == SS2) in do_check_and_conv()
518 p1 = tmp[++i]; in do_check_and_conv()
521 p2 = tmp[i + 2]; in do_check_and_conv()
535 to[j++] = tmp[i]; in do_check_and_conv()
541 ustrcpy (to, tmp); in do_check_and_conv()
[all …]
/PHP-7.4/ext/standard/
H A Dcrypt_blowfish.c381 tmp = BF_atoi64[tmp]; \
383 (dst) = tmp; \
453 BF_word tmp; in BF_swap() local
457 tmp = *x; in BF_swap()
458 tmp = (tmp << 16) | (tmp >> 16); in BF_swap()
459 *x++ = ((tmp & 0x00FF00FF) << 8) | ((tmp >> 8) & 0x00FF00FF); in BF_swap()
599 tmp[0] = tmp[1] = 0; in BF_set_key()
601 tmp[0] <<= 8; in BF_set_key()
603 tmp[1] <<= 8; in BF_set_key()
618 diff |= tmp[0] ^ tmp[1]; /* Non-zero on any differences */ in BF_set_key()
[all …]
/PHP-7.4/ext/spl/tests/
H A Dbug77024.phpt12 $tmp = tempnam(sys_get_temp_dir(), "php-tests-");
13 file_put_contents($tmp, "line1\nline2\nline3\n");
14 $file = new SplFileObject($tmp);
18 unlink($tmp);
/PHP-7.4/Zend/
H A Dzend_exceptions.c211 zval obj, tmp; in zend_default_exception_new_ex() local
237 zval_ptr_dtor(&tmp); in zend_default_exception_new_ex()
371 zval_ptr_dtor(&tmp); in ZEND_METHOD()
565 zval *file, *tmp; in _build_trace_string() local
579 if (tmp) { in _build_trace_string()
602 if (tmp) { in _build_trace_string()
679 zval rv, tmp; in ZEND_METHOD() local
759 ZVAL_STR(&tmp, str); in ZEND_METHOD()
909 zval ex, tmp; in zend_throw_exception() local
954 zval ex, tmp; in zend_throw_error_exception() local
[all …]

Completed in 58 milliseconds

12345678910>>...47