Home
last modified time | relevance | path

Searched refs:tmp (Results 276 – 300 of 1152) sorted by relevance

1...<<11121314151617181920>>...47

/PHP-5.5/ext/standard/tests/dir/
H A Dscandir_variation10.phpt38 var_dump(in_array('file1.tmp', $files));
39 var_dump(in_array('file2.tmp', $files));
60 string(9) "file1.tmp"
62 string(9) "file2.tmp"
66 string(9) "file2.tmp"
68 string(9) "file1.tmp"
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_driver.phpt17 if (($tmp = $driver->client_info) !== $client_info)
20 gettype($tmp), $tmp);
23 if (($tmp = $driver->client_version) !== $client_version)
26 gettype($tmp), $tmp);
28 if (!is_int($tmp = $driver->driver_version) || (0 == $tmp))
30 gettype($tmp), $tmp);
63 $tmp = $e->getTrace();
64 if (empty($tmp))
H A Dmysqli_free_result.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_free_result()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_free_result($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_poll_kill.phpt28 …if (true !== ($tmp = mysqli_query($link, "SELECT 1 AS 'processed before killed'", MYSQLI_ASYNC | …
29 printf("[002] Expecting boolean/true got %s/%s\n", gettype($tmp), var_export($tmp, true));
41 if (1 !== ($tmp = (mysqli_poll($links, $errors, $reject, 0, 10000))))
42 printf("[003] Expecting int/1 got %s/%s\n", gettype($tmp), var_export($tmp, true));
68 if (0 !== ($tmp = mysqli_poll($links, $errors, $reject, 1)))
70 gettype($tmp), var_export($tmp, true));
84 if (true !== ($tmp = mysqli_query($link, "SELECT 1", MYSQLI_ASYNC | MYSQLI_USE_RESULT)))
85 printf("[011] Expecting boolean/true got %s/%s\n", gettype($tmp), var_export($tmp, true));
140 printf("[015] Expecting boolean/false got %s/%s\n", gettype($tmp), var_export($tmp, true));
146 if (0 !== ($tmp = (mysqli_poll($links, $errors, $reject, 0, 10000))))
[all …]
H A Dreflection_tools.inc22 $tmp = array();
24 $tmp[$method->getName()] = $method;
26 ksort($tmp, SORT_STRING);
27 foreach ($tmp as $method)
32 $tmp = array();
34 $tmp[$prop->getName()] = $prop;
35 ksort($tmp, SORT_STRING);
36 foreach ($tmp as $prop)
93 $tmp = array();
97 // ksort($tmp, SORT_STRING);
[all …]
H A Dmysqli_get_connection_stats.phpt17 $tmp = $link = null;
18 if (!is_null($tmp = @mysqli_get_connection_stats()))
19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
21 if (!is_null($tmp = @mysqli_get_connection_stats($link)))
22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
/PHP-5.5/main/
H A Dphp_ini.c48 while (*tmp) { \
49 if (*tmp == '\\') *tmp = '/'; \
50 else *tmp = tolower(*tmp); \
51 tmp++; \
599 zval tmp; in php_init_config() local
867 zval *tmp; local
882 zval *tmp; local
885 return tmp;
902 var = *tmp;
920 var = *tmp;
[all …]
/PHP-5.5/ext/standard/
H A Dformatted_print.c442 zval *tmp; in php_formatted_print() local
560 MAKE_STD_ZVAL(tmp); in php_formatted_print()
562 INIT_PZVAL(tmp); in php_formatted_print()
563 zval_copy_ctor(tmp); in php_formatted_print()
566 tmp = *(args[argnum]); in php_formatted_print()
578 var = tmp; in php_formatted_print()
631 Z_LVAL_P(tmp), in php_formatted_print()
639 Z_LVAL_P(tmp), in php_formatted_print()
647 Z_LVAL_P(tmp), in php_formatted_print()
655 Z_LVAL_P(tmp), in php_formatted_print()
[all …]
/PHP-5.5/sapi/apache2handler/
H A Dphp_functions.c370 char tmp[1024]; in PHP_MINFO_FUNCTION() local
399 snprintf(tmp, sizeof(tmp), "%d", MODULE_MAGIC_NUMBER); in PHP_MINFO_FUNCTION()
400 php_info_print_table_row(2, "Apache API Version", tmp); in PHP_MINFO_FUNCTION()
406 snprintf(tmp, sizeof(tmp), "%s:%u", serv->server_hostname, serv->port); in PHP_MINFO_FUNCTION()
407 php_info_print_table_row(2, "Hostname:Port", tmp); in PHP_MINFO_FUNCTION()
411 …snprintf(tmp, sizeof(tmp), "%s(%d)/%d", ap_unixd_config.user_name, ap_unixd_config.user_id, ap_uni… in PHP_MINFO_FUNCTION()
413 …snprintf(tmp, sizeof(tmp), "%s(%d)/%d", unixd_config.user_name, unixd_config.user_id, unixd_config… in PHP_MINFO_FUNCTION()
415 php_info_print_table_row(2, "User/Group", tmp); in PHP_MINFO_FUNCTION()
420 php_info_print_table_row(2, "Max Requests", tmp); in PHP_MINFO_FUNCTION()
422 apr_snprintf(tmp, sizeof tmp, in PHP_MINFO_FUNCTION()
[all …]
/PHP-5.5/ext/phar/tests/tar/files/
H A Dcorrupt_tarmaker.php.inc16 protected $tmp;
118 fwrite($this->tmp, $block . $checksum . $blockend, 512);
120 stream_copy_to_stream($fileOrStream, $this->tmp);
122 fwrite($this->tmp, str_repeat("\0", 512 - $stat['size'] % 512));
125 fwrite($this->tmp, $fileOrStream);
127 fwrite($this->tmp, str_repeat("\0", 512 - strlen($fileOrStream) % 512));
139 $this->tmp = gzopen($this->path, 'wb');
142 $this->tmp = bzopen($this->path, 'w');
145 $this->tmp = fopen($this->path, 'wb');
174 fwrite($this->tmp, pack('a1024', ''));
[all …]
H A Dmake.dangerous.tar.php.inc17 protected $tmp;
111 fwrite($this->tmp, (binary)$block . $checksum . $blockend, 512);
113 stream_copy_to_stream($fileOrStream, $this->tmp);
115 fwrite($this->tmp, (binary)str_repeat("\0", 512 - $stat['size'] % 512));
118 fwrite($this->tmp, (binary)$fileOrStream);
120 fwrite($this->tmp, (binary)str_repeat("\0", 512 - strlen($fileOrStream) % 512));
132 $this->tmp = gzopen($this->path, 'wb');
135 $this->tmp = bzopen($this->path, 'w');
138 $this->tmp = fopen($this->path, 'wb');
167 fwrite($this->tmp, pack('a1024', ''));
[all …]
/PHP-5.5/ext/mysql/tests/
H A Dmysql_fetch_field.phpt12 $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);
33 while ($tmp = mysql_fetch_field($res))
34 var_dump($tmp);
35 var_dump($tmp);
43 printf("[006] Expecting boolean/false got %s/%s\n", gettype($tmp), var_export($tmp, true));
48 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), var_export($tmp, true));
112 if ($type_desc[1] != $tmp->type) {
140 if ($tmp->name == 'id') {
[all …]
H A Dmysql_escape_string.phpt9 $tmp = NULL;
12 if (NULL !== ($tmp = @mysql_escape_string()))
13 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
/PHP-5.5/ext/standard/tests/file/
H A Drename_variation6.phpt11 $tmp_file = __FILE__.".tmp";
12 $tmp_link = __FILE__.".tmp.link";
13 $tmp_link2 = __FILE__.".tmp.link2";
34 string(%d) "%srename_variation6.php.tmp"
H A Drealpath_variation-win32.phpt19 $filename = "$name_prefix/realpath_variation/home/tests/realpath_variation.tmp";
34 …emp("$name_prefix/realpath_variation/../././realpath_variation/home/tests/realpath_variation.tmp");
35 $obj2 = new object_temp("$name_prefix/realpath_variation/home/..///realpath_variation.tmp");
42 "$name_prefix////realpath_variation/home/tests/realpath_variation.tmp",
43 "$name_prefix/./realpath_variation/home/../home//tests//..//..//..//home//realpath_variation.tmp/"
73 unlink("$name_prefix/home/tests/realpath_variation.tmp");
82 string(%d) "%s\realpath_variation\home\tests\realpath_variation.tmp"
86 string(%d) "%s\realpath_variation\home\tests\realpath_variation.tmp"
H A Drename_variation12.phpt27 $fromFile = "renameMe.tmp";
28 $toFile = "IwasRenamed.tmp";
92 ….//../renameVar11Sub/renameMe.tmp,%s/renameVar11/renameVar11Sub/..///renameVar11Sub//..//../rename…
97 …e(%s/renameVar11/renameVar11Sub/BADDIR/renameMe.tmp,%s/renameVar11/renameVar11Sub/BADDIR/IwasRenam…
118 Warning: rename(BADDIR/renameMe.tmp,BADDIR/IwasRenamed.tmp): %s in %s on line %d
H A Dcopy_variation8.phpt29 $file = $file_path."/copy_variation8.tmp";
32 $symlink = $file_path."/copy_variation8_symlink.tmp";
33 $hardlink = $file_path."/copy_variation8_hardlink.tmp";
39 $base_dir."/copy_copy_variation8.tmp",
40 $base_dir."/copy_variation8_sub/copy_copy_variation8.tmp",
41 "$sub_dir/copy_copy_variation8.tmp",
42 "$sub_dir/../copy_copy_variation8.tmp",
43 "$sub_dir/../copy_variation8_sub/copy_copy_variation8.tmp",
44 "$sub_dir/..///../copy_copy_variation8.tmp",
46 "$dirname_with_blank/copy_copy_variation8.tmp"
H A Dreadlink_realpath_variation1.phpt20 …ame = "$name_prefix/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp";
35 …alpath_variation1/../././readlink_realpath_variation1/home/readlink_realpath_variation1_link.tmp");
36 …mp("$name_prefix/readlink_realpath_variation1/home/../..///readlink_realpath_variation1_link.tmp");
69 unlink("$name_prefix/home/tests/link/readlink_realpath_variation1.tmp");
82 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"
83 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"
85 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"
86 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"
93 string(%d) "%s/readlink_realpath_variation1/home/readlink_realpath_variation1_link.tmp"
98 string(%d) "%s/readlink_realpath_variation1_link.tmp"
H A Dtempnam_variation7.phpt38 $file_name = tempnam($names_arr[$i], "tempnam_variation3.tmp");
73 File name is => %s%etempnam_variation3.tmp%s
77 File name is => %s%etempnam_variation3.tmp%s
81 File name is => %s%etempnam_variation3.tmp%s
85 File name is => %s%etempnam_variation3.tmp%s
89 File name is => %s%etempnam_variation3.tmp%s
93 File name is => %s%etempnam_variation3.tmp%s
109 File name is => %s/tempnam_variation3.tmp%s
113 File name is => %s/tempnam_variation3.tmp%s
H A Dis_executable_variation1.phpt24 $fp = fopen("$file_path/is_executable_variation1/bar.tmp", "w");
30 "$file_path/is_executable_variation1/bar.tmp",
33 "$file_path/is_executable_variation1/bar.tmp/",
36 "$file_path/is_executable_variation1//bar.tmp",
37 "$file_path/is_executable_variation1/*.tmp",
38 "$file_path/is_executable_variation1/b*.tmp",
63 unlink(dirname(__FILE__)."/is_executable_variation1/bar.tmp");
/PHP-5.5/ext/calendar/
H A Deaster.c33 long year, golden, solar, lunar, pfm, dom, tmp, easter; in _cal_easter() local
93 tmp = (4-pfm-dom) % 7; in _cal_easter()
94 if (tmp < 0) { in _cal_easter()
95 tmp += 7; in _cal_easter()
98 easter = pfm + tmp + 1; /* Easter as the number of days after 21st March */ in _cal_easter()
/PHP-5.5/Zend/tests/
H A Dbug55509.phpt20 $tmp = explode(":", $line);
21 $index = strtolower($tmp[0]);
22 $value = (int)ltrim($tmp[1], " ")*1024;
37 $tmp = explode(":", $line);
38 $index = strtolower($tmp[0]);
39 $value = trim($tmp[1], " ");
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_prepare_emulated.phpt25 $tmp = $db->errorInfo();
28 ($error_info['prepare']['sqlstate'] !== $tmp[0])) {
30 $offset, $error_info['prepare']['sqlstate'], $tmp[0]);
35 ($error_info['prepare']['mysql'] !== $tmp[1])) {
37 $offset, $error_info['prepare']['mysql'], $tmp[0]);
57 $tmp = $stmt->errorInfo();
60 ($error_info['execute']['sqlstate'] !== $tmp[0])) {
62 $offset, $error_info['execute']['sqlstate'], $tmp[0]);
67 ($error_info['execute']['mysql'] !== $tmp[1])) {
69 $offset, $error_info['execute']['mysql'], $tmp[0]);
[all …]
H A Dpdo_mysql_stmt_rowcount.phpt17 if (0 !== ($tmp = $db->query('SELECT id FROM test WHERE 1 = 0')->rowCount()))
18 printf("[002] Expecting 0 got %s", var_export($tmp, true));
20 if (1 !== ($tmp = $db->query('SELECT id FROM test WHERE id = 1')->rowCount()))
21 printf("[003] Expecting 1 got %s", var_export($tmp, true));
/PHP-5.5/win32/
H A Dwsyslog.c86 char *tmp = NULL; in syslog() local
108 vspprintf(&tmp, 0, message, args); /* build message */ in syslog()
110 strs[1] = tmp; /* then the message */ in syslog()
114 efree(tmp); in syslog()

Completed in 52 milliseconds

1...<<11121314151617181920>>...47