Home
last modified time | relevance | path

Searched refs:tmp (Results 101 – 125 of 1152) sorted by relevance

12345678910>>...47

/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_get_server_info.phpt13 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 Dmysqli_stmt_store_result.phpt13 $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 NULL, got %s/%s\n", gettype($tmp), $tmp);
31 if (NULL !== ($tmp = @mysqli_stmt_store_result($stmt)))
32 printf("[005] Expecting NULL, 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 D065.phpt27 $tmp = null;
31 if (3 !== ($tmp = strlen($mysql->real_escape_string($esc_str))))
32 printf("[003] Expecting 3/int got %s/%s\n", gettype($tmp), $tmp);
34 if ('latin1' !== ($tmp = $mysql->character_set_name()))
35 printf("[004] Expecting latin1/string got %s/%s\n", gettype($tmp), $tmp);
43 if (2 !== ($tmp = strlen($mysql->real_escape_string($esc_str))))
44 printf("[005] Expecting 2/int got %s/%s\n", gettype($tmp), $tmp);
46 if ('gbk' !== ($tmp = $mysql->character_set_name()))
47 printf("[005] Expecting gbk/string got %s/%s\n", gettype($tmp), $tmp);;
H A Dmysqli_stmt_bind_param_references.phpt65 printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
76 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
87 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
98 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
106 printf("[013] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
116 printf("[015] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
127 printf("[018] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
137 printf("[021] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
147 printf("[024] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
161 printf("[027] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_ping.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_ping()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
21 if (!is_null($tmp = @mysqli_ping($link, $link)))
22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
37 if (!is_null($tmp = mysqli_ping($link)))
38 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
/PHP-5.5/ext/mysql/tests/
H A Dmysql_free_result.phpt12 $tmp = NULL;
15 if (!is_null($tmp = @mysql_free_result()))
16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
18 if (null !== ($tmp = @mysql_free_result($link)))
19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 if ($tmp = sys_get_temp_dir()) {
30 $tmpname = tempnam($tmp, 'free_result');
32 if (false !== ($tmp = @mysql_free_result($fp)))
33 printf("[004] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp);
H A Dmysql_unbuffered_query.phpt12 $tmp = NULL;
16 printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
24 printf("[003] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
27 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
47 if (!isset($tmp['p_version']) || ('' == $tmp['p_version'])) {
49 var_dump($tmp);
53 var_dump($tmp);
64 if (!isset($tmp['f_version']) || ('' == $tmp['f_version'])) {
66 var_dump($tmp);
[all …]
H A Dmysql_num_fields.phpt12 $tmp = NULL;
15 if (!is_null($tmp = @mysql_num_fields()))
16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
18 if (NULL !== ($tmp = @mysql_num_fields($link)))
19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 if ($expected !== ($tmp = mysql_num_fields($res)))
33 gettype($tmp), $tmp);
37 if ($test_free && (false !== ($tmp = mysql_num_fields($res))))
38 printf("[%03d] Expecting boolean/false, got %s/%s\n", $offset + 2, gettype($tmp), $tmp);
H A Dmysql_field_flags.phpt12 $tmp = NULL;
16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
32 if (!is_string($tmp = mysql_field_flags($res, 0)) || empty($tmp))
33 printf("[006] Expecting non empty string, got %s/%s\n", gettype($tmp), $tmp);
37 var_inspect($tmp);
41 printf("[008] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
129 $tmp = preg_replace(sprintf('@\s*%s\s*@ismU', $flag), '', $tmp);
[all …]
H A Dmysql_db_name.phpt12 $tmp = NULL;
15 if (NULL !== ($tmp = @mysql_db_name()))
16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
18 if (NULL !== ($tmp = @mysql_db_name($link, $link)))
19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 if (false !== ($tmp = mysql_db_name($res, -1)))
31 gettype($tmp), $tmp, mysql_errno($link), mysql_error($link));
33 if (false !== ($tmp = mysql_db_name($res, $num + 1)))
35 gettype($tmp), $tmp, mysql_errno($link), mysql_error($link));
52 if (false !== ($tmp = mysql_db_name($res, $num)))
[all …]
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_last_insert_id.phpt16 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-5.5/ext/standard/tests/file/
H A Dcopy_variation2.phpt31 "@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 "&copy_variation2.tmp",
40 "(copy_variation2.tmp",
[all …]
H A Drealpath_basic-win32.phpt31 "$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 b"$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 Dcopy_variation2-win32.phpt31 "@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 ":copy_variation2.tmp",
40 ";copy_variation2.tmp",
[all …]
H A Drmdir_variation3.phpt15 $workDir = "rmdirVar3.tmp";
67 -- removing rmdirVar3.tmp/aSubDir --
69 -- removing ./rmdirVar3.tmp/aSubDir --
71 -- removing rmdirVar3.tmp/../rmdirVar3.tmp/aSubDir --
79 -- removing %s/rmdirVar3.tmp/aSubDir --
81 -- removing %s/./rmdirVar3.tmp/aSubDir --
83 -- removing %s/rmdirVar3.tmp/../rmdirVar3.tmp/aSubDir --
88 -- removing rmdirVar3.tmp/aSubDir/ --
90 -- removing %s/rmdirVar3.tmp/aSubDir/ --
92 -- removing rmdirVar3.tmp//aSubDir --
[all …]
H A Drealpath_variation2.phpt27 '/tmp/',
28 '/tmp/\\',
29 '\\tmp',
30 '\\tmp\\');
63 --/tmp/--
64 string(%d) %s/tmp"
66 --/tmp/\--
69 --\tmp--
72 --\tmp\--
H A Dfilegroup_variation1.phpt19 fclose( fopen($file_path."/filegroup_variation1.tmp", "w") );
23 symlink($file_path."/filegroup_variation1.tmp", $file_path."/filegroup_variation1_symlink.tmp");
24 var_dump( filegroup($file_path."/filegroup_variation1_symlink.tmp") ); //expected true
28 link($file_path."/filegroup_variation1.tmp", $file_path."/filegroup_variation1_link.tmp");
29 var_dump( filegroup($file_path."/filegroup_variation1_link.tmp") ); // expected: true
37 unlink($file_path."/filegroup_variation1_symlink.tmp");
38 unlink($file_path."/filegroup_variation1_link.tmp");
39 unlink($file_path."/filegroup_variation1.tmp");
H A Dfileinode_variation1.phpt20 fclose( fopen($file_path."/fileinode_variation1.tmp", "w") );
24 symlink($file_path."/fileinode_variation1.tmp", $file_path."/fileinode_variation1_symlink.tmp");
25 var_dump( fileinode($file_path."/fileinode_variation1_symlink.tmp") ); //expected true
29 link($file_path."/fileinode_variation1.tmp", $file_path."/fileinode_variation1_link.tmp");
30 var_dump( fileinode($file_path."/fileinode_variation1_link.tmp") ); // expected: true
38 unlink($file_path."/fileinode_variation1_symlink.tmp");
39 unlink($file_path."/fileinode_variation1_link.tmp");
40 unlink($file_path."/fileinode_variation1.tmp");
H A Dfileperms_variation1.phpt19 fclose( fopen($file_path."/fileperms_variation1.tmp", "w") );
23 symlink($file_path."/fileperms_variation1.tmp", $file_path."/fileperms_variation1_symlink.tmp");
24 var_dump( fileperms($file_path."/fileperms_variation1_symlink.tmp") ); //expected true
28 link($file_path."/fileperms_variation1.tmp", $file_path."/fileperms_variation1_link.tmp");
29 var_dump( fileperms($file_path."/fileperms_variation1_link.tmp") ); // expected: true
37 unlink($file_path."/fileperms_variation1_symlink.tmp");
38 unlink($file_path."/fileperms_variation1_link.tmp");
39 unlink($file_path."/fileperms_variation1.tmp");
/PHP-5.5/ext/date/tests/
H A Ddate.phpt5 $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-5.5/ext/standard/tests/streams/
H A Dstream_copy_to_stream_socket.phpt12 $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-5.5/ext/soap/
H A Dphp_http.c100 zval **tmp; in http_context_headers() local
104 Z_TYPE_PP(tmp) == IS_STRING && Z_STRLEN_PP(tmp)) { in http_context_headers()
188 Z_TYPE_PP(tmp) == IS_LONG && Z_LVAL_PP(tmp) > 0) { in http_connect()
439 …if (Z_TYPE_PP(tmp) != IS_STRING || !is_numeric_string(Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &redirec… in make_http_soap_request()
578 (Z_TYPE_PP(tmp) == IS_BOOL || Z_TYPE_PP(tmp) == IS_LONG) && in make_http_soap_request()
833 zval **tmp; in make_http_soap_request() local
913 char *tmp; in make_http_soap_request() local
921 tmp++; in make_http_soap_request()
924 tmp = strstr(tmp," "); in make_http_soap_request()
926 tmp++; in make_http_soap_request()
[all …]
H A Dphp_sdl.c389 if (tmp) { in load_wsdl_ex()
451 xmlAttrPtr tmp; in wsdl_soap_binding_header() local
457 if (!tmp) { in wsdl_soap_binding_header()
472 if (!tmp) { in wsdl_soap_binding_header()
492 if (tmp) { in wsdl_soap_binding_header()
498 if (tmp) { in wsdl_soap_binding_header()
579 if (tmp) { in wsdl_soap_binding_body()
584 if (tmp) { in wsdl_soap_binding_body()
626 if (tmp) { in wsdl_soap_binding_body()
3186 free(tmp); in delete_psdl()
[all …]
/PHP-5.5/ext/opcache/tests/
H A Dbug65915.phpt10 $tmp = __DIR__ . "/bug65915.inc.php";
12 file_put_contents($tmp, '<?php return function(){ return "a";};');
13 $f = require $tmp;
16 opcache_invalidate($tmp, true);
18 file_put_contents($tmp, '<?php return function(){ return "b";};');
19 $f = require $tmp;
22 @unlink($tmp);
/PHP-5.5/main/
H A Dreentrancy.c178 struct tm *tmp; in php_localtime_r() local
183 if (tmp) { in php_localtime_r()
185 tmp = p_tm; in php_localtime_r()
190 return tmp; in php_localtime_r()
199 char *tmp; in php_ctime_r() local
204 strcpy(buf, tmp); in php_ctime_r()
217 char *tmp; in php_asctime_r() local
235 struct tm *tmp; in php_gmtime_r() local
240 if (tmp) { in php_gmtime_r()
242 tmp = p_tm; in php_gmtime_r()
[all …]

Completed in 51 milliseconds

12345678910>>...47