Home
last modified time | relevance | path

Searched refs:tmp (Results 201 – 225 of 1192) sorted by relevance

12345678910>>...48

/PHP-7.3/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);
H A DRecursiveDirectoryIterator_getSubPathname_basic.phpt13 touch($targetDir . DIRECTORY_SEPARATOR . 'getSubPathname_test_2.tmp');
14 …TOR . $depth0 . DIRECTORY_SEPARATOR . $depth1 . DIRECTORY_SEPARATOR . 'getSubPathname_test_3.tmp');
15 touch(__DIR__ . DIRECTORY_SEPARATOR . $depth0 . DIRECTORY_SEPARATOR . 'getSubPathname_test_1.tmp');
54 depth1%cdepth2%cgetSubPathname_test_2.tmp
55 depth1%cgetSubPathname_test_3.tmp
56 getSubPathname_test_1.tmp
/PHP-7.3/ext/mysqli/tests/
H A Dmysqli_prepare.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_prepare()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_prepare($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
24 if (false !== ($tmp = @mysqli_prepare($link, false)))
25 printf("[003] Expecting boolean/false, got %s\n", gettype($tmp));
30 if (false !== ($tmp = mysqli_prepare($link, 'SELECT id FROM test WHERE id > ?')))
110 printf("[023] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
114 if (!is_null($tmp = @mysqli_stmt_prepare($link, 'SELECT id FROM test')))
[all …]
H A Dmysqli_fetch_fields.phpt13 $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 (false !== ($tmp = mysqli_fetch_fields($res)))
59 printf("[006] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_bind_param.phpt22 $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("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
47 if (!false === ($tmp = @mysqli_stmt_bind_param($stmt, " ", $tmp)))
48 printf("[003d] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
51 printf("[003a] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
63 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
66 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
336 gettype($tmp), $tmp,
[all …]
/PHP-7.3/ext/zlib/
H A Dzlib_filter.c325 if (tmp < -MAX_WBITS || tmp > MAX_WBITS + 32) { in php_zlib_filter_create()
328 windowBits = tmp; in php_zlib_filter_create()
346 zend_long tmp; in php_zlib_filter_create() local
356 tmp = zval_get_long(tmpzval); in php_zlib_filter_create()
357 if (tmp < 1 || tmp > MAX_MEM_LEVEL) { in php_zlib_filter_create()
360 memLevel = tmp; in php_zlib_filter_create()
366 tmp = zval_get_long(tmpzval); in php_zlib_filter_create()
367 if (tmp < -MAX_WBITS || tmp > MAX_WBITS + 16) { in php_zlib_filter_create()
370 windowBits = tmp; in php_zlib_filter_create()
387 if (tmp < -1 || tmp > 9) { in php_zlib_filter_create()
[all …]
/PHP-7.3/ext/pdo_mysql/tests/
H A Dbug_33689.phpt27 $tmp = $stmt->getColumnMeta(0);
30 if (!isset($tmp['pdo_type']) || (isset($tmp['pdo_type']) && $tmp['pdo_type'] != 2))
31 printf("Expecting pdo_type = 2 got %s\n", $tmp['pdo_type']);
33 unset($tmp['pdo_type']);
35 print_r($tmp);
/PHP-7.3/ext/standard/tests/file/
H A Dcopy_variation16-win32.phpt28 $src_file_name = dirname(__FILE__)."/copy_variation16.tmp";
38 $base_dir."/copy_copy_variation16.tmp",
39 $base_dir."/copy_variation16_sub/copy_copy_variation16.tmp",
40 "$sub_dir/copy_copy_variation16.tmp",
41 "$sub_dir/../copy_copy_variation16.tmp",
42 "$sub_dir/../copy_variation16_sub/copy_copy_variation16.tmp",
43 "$sub_dir/..///../copy_copy_variation16.tmp",
45 "$dirname_with_blank/copy_copy_variation16.tmp"
92 Destination file name is => %s/copy_variation16/copy_copy_variation16.tmp
99 Destination file name is => %s/copy_variation16/copy_variation16_sub/copy_copy_variation16.tmp
[all …]
H A Dcopy_variation16.phpt28 $src_file_name = dirname(__FILE__)."/copy_variation16.tmp";
38 $base_dir."/copy_copy_variation16.tmp",
39 $base_dir."/copy_variation16_sub/copy_copy_variation16.tmp",
40 "$sub_dir/copy_copy_variation16.tmp",
41 "$sub_dir/../copy_copy_variation16.tmp",
42 "$sub_dir/../copy_variation16_sub/copy_copy_variation16.tmp",
43 "$sub_dir/..///../copy_copy_variation16.tmp",
45 "$dirname_with_blank/copy_copy_variation16.tmp"
91 Destination file name is => %s/copy_variation16/copy_copy_variation16.tmp
98 Destination file name is => %s/copy_variation16/copy_variation16_sub/copy_copy_variation16.tmp
[all …]
H A Dcopy_variation6-win32.phpt28 $src_file_name = dirname(__FILE__)."/copy_variation6.tmp";
36 $base_dir."/copy_copy_variation6.tmp",
37 $base_dir."/copy_variation6_sub/copy_copy_variation6.tmp",
38 "$sub_dir/copy_copy_variation6.tmp",
39 "$sub_dir/../copy_copy_variation6.tmp",
40 "$sub_dir/../copy_variation6_sub/copy_copy_variation6.tmp",
41 "$sub_dir/..///../copy_copy_variation6.tmp",
43 "$dirname_with_blank/copy_copy_variation6.tmp"
91 Destination file name is => %s/copy_variation6/copy_copy_variation6.tmp
98 Destination file name is => %s/copy_variation6/copy_variation6_sub/copy_copy_variation6.tmp
[all …]
H A Dcopy_variation6.phpt28 $src_file_name = dirname(__FILE__)."/copy_variation6.tmp";
36 $base_dir."/copy_copy_variation6.tmp",
37 $base_dir."/copy_variation6_sub/copy_copy_variation6.tmp",
38 "$sub_dir/copy_copy_variation6.tmp",
39 "$sub_dir/../copy_copy_variation6.tmp",
40 "$sub_dir/../copy_variation6_sub/copy_copy_variation6.tmp",
41 "$sub_dir/..///../copy_copy_variation6.tmp",
43 "$dirname_with_blank/copy_copy_variation6.tmp"
89 Destination file name is => %s/copy_variation6/copy_copy_variation6.tmp
96 Destination file name is => %s/copy_variation6/copy_variation6_sub/copy_copy_variation6.tmp
[all …]
H A Dis_writable_variation1.phpt8 $filename = dirname(__FILE__)."/is_writable_root_check.tmp";
34 $fp = fopen("$file_path/is_writable_variation1/bar.tmp", "w");
40 "$file_path/is_writable_variation1/bar.tmp",
43 "$file_path/is_writable_variation1/bar.tmp/",
46 "$file_path/is_writable_variation1//bar.tmp",
47 "$file_path//is_writable_variation1//bar.tmp",
48 "$file_path/is_writable_variation1/*.tmp",
49 "$file_path/is_writable_variation1/b*.tmp",
52 "$file_path/is_writable_variation1".chr(0)."bar.tmp",
53 "$file_path".chr(0)."is_writable_variation1/bar.tmp",
[all …]
H A Dlstat_stat_variation3.phpt24 $fp = fopen("$file_path/lstat_stat_variation3.tmp", "w"); // temp file
28 symlink("$file_path/lstat_stat_variation3.tmp", "$file_path/lstat_stat_variation_link3.tmp");
32 $old_linkname = "$file_path/lstat_stat_variation_link3.tmp";
33 $new_linkname = "$file_path/lstat_stat_variation_link3a.tmp";
53 unlink("$file_path/lstat_stat_variation3.tmp");
54 unlink("$file_path/lstat_stat_variation_link3a.tmp");
H A Drename_variation2.phpt21 $filename = $file_path."/rename_variation2.tmp";
26 $linkname = $file_path."/rename_variation2_soft_link1.tmp";
30 $dest_linkname = $file_path."/rename_variation2_soft_link2.tmp";
38 var_dump( rename($dest_linkname, $dest_dir."/rename_variation2_soft_link2.tmp"));
42 var_dump( file_exists($dest_dir."/rename_variation2_soft_link2.tmp") ); // expecting true
45 unlink($dest_dir."/rename_variation2_soft_link2.tmp");
52 unlink($file_path."/rename_variation2.tmp");
H A Dis_writable_variation2.phpt9 $filename = dirname(__FILE__)."/is_readable_root_check.tmp";
55 "$file_path/is_writable_variation21.tmp",
56 "$file_path/is_writable_variation22.tmp",
57 "$file_path/is_writable_variation23.tmp",
58 "$file_path/is_writable_variation24.tmp",
59 "$file_path/is_writable_variation25.tmp",
60 "$file_path/is_writable_variation26.tmp",
61 "$file_path/is_writable_variation27.tmp",
62 "$file_path/is_writable_variation28.tmp",
63 "$file_path/is_writable_variation29.tmp",
[all …]
H A Dtempnam_variation1.phpt22 $files[$i] = tempnam("$file_path", "tempnam_variation1.tmp");
67 File name is => %s%etempnam_variation1.tmp%s
72 File name is => %s%etempnam_variation1.tmp%s
77 File name is => %s%etempnam_variation1.tmp%s
82 File name is => %s%etempnam_variation1.tmp%s
87 File name is => %s%etempnam_variation1.tmp%s
92 File name is => %s%etempnam_variation1.tmp%s
97 File name is => %s%etempnam_variation1.tmp%s
102 File name is => %s%etempnam_variation1.tmp%s
107 File name is => %s%etempnam_variation1.tmp%s
[all …]
/PHP-7.3/ext/standard/tests/network/
H A Dudgloop.phpt11 if (file_exists("/tmp/$uniqid.sock"))
12 die('Temporary socket /tmp/$uniqid.sock already exists.');
15 $server = stream_socket_server("udg:///tmp/$uniqid.sock", $errno, $errstr, STREAM_SERVER_BIND);
21 $client = stream_socket_client("udg:///tmp/$uniqid.sock");
33 unlink("/tmp/$uniqid.sock");
/PHP-7.3/ext/standard/tests/dir/
H A Dscandir_basic.phpt50 string(9) "file1.tmp"
52 string(9) "file2.tmp"
54 string(9) "file3.tmp"
60 string(9) "file3.tmp"
62 string(9) "file2.tmp"
64 string(9) "file1.tmp"
H A Dscandir_variation9.phpt44 string(9) "file2.tmp"
46 string(9) "file1.tmp"
54 string(9) "file2.tmp"
56 string(9) "file1.tmp"
68 string(9) "file1.tmp"
70 string(9) "file2.tmp"
/PHP-7.3/win32/
H A Dwsyslog.c94 char *tmp = NULL; in vsyslog() local
116 vspprintf(&tmp, 0, message, args); /* build message */ in vsyslog()
119 strsw[1] = php_win32_cp_any_to_w(tmp); in vsyslog()
126 efree(tmp); in vsyslog()
134 strs[1] = tmp; /* then the message */ in vsyslog()
137 efree(tmp); in vsyslog()
/PHP-7.3/ext/oci8/
H A Doci8_interface.c267 zval *tmp, *z_descriptor = getThis(); in PHP_FUNCTION() local
292 zval *tmp, *z_descriptor = getThis(); in PHP_FUNCTION() local
333 zval *tmp, *z_descriptor = getThis(); in PHP_FUNCTION() local
367 zval *tmp, *z_descriptor = getThis(); in PHP_FUNCTION() local
404 zval *tmp, *z_descriptor = getThis(); in PHP_FUNCTION() local
451 zval *tmp, *z_descriptor = getThis(); in PHP_FUNCTION() local
481 zval *tmp, *z_descriptor = getThis(); in PHP_FUNCTION() local
505 zval *tmp, *z_descriptor = getThis(); in PHP_FUNCTION() local
1466 zval element, tmp; in PHP_FUNCTION() local
1545 array_init(&tmp); in PHP_FUNCTION()
[all …]
/PHP-7.3/ext/readline/tests/
H A Dreadline_read_history_open_basedir_001.phpt6 open_basedir=/tmp/some-sandbox
10 $name = '/tmp/out-of-sandbox';
16 …(): open_basedir restriction in effect. File(/tmp/out-of-sandbox) is not within the allowed path(s…
H A Dreadline_write_history_open_basedir_001.phpt6 open_basedir=/tmp/some-sandbox
10 $name = '/tmp/out-of-sandbox';
16 …(): open_basedir restriction in effect. File(/tmp/out-of-sandbox) is not within the allowed path(s…
/PHP-7.3/ext/ldap/tests/
H A Dldap_exop_refresh.phpt23 ldap_add($link, "cn=tmp,$base", array(
25 "cn" => "tmp",
26 "sn" => "tmp"
29 ldap_exop_refresh($link, "cn=tmp,$base", 1234)
38 ldap_delete($link, "cn=tmp,$base");
/PHP-7.3/ext/gd/libgd/
H A Dgd_transform.c37 int *px1, *px2, tmp; in gdImageFlipHorizontal() local
43 tmp = *px1; in gdImageFlipHorizontal()
45 *px2 = tmp; in gdImageFlipHorizontal()
51 unsigned char *px1, *px2, tmp; in gdImageFlipHorizontal() local
57 tmp = *px1; in gdImageFlipHorizontal()
59 *px2 = tmp; in gdImageFlipHorizontal()

Completed in 97 milliseconds

12345678910>>...48