Home
last modified time | relevance | path

Searched refs:tmp (Results 26 – 50 of 1152) sorted by relevance

12345678910>>...47

/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_warning_count.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_warning_count()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_warning_count($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);
30 if (0 !== ($tmp = mysqli_warning_count($link)))
31 printf("[005] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
36 if (1 !== ($tmp = mysqli_warning_count($link)))
37 printf("[007] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_change_user_old.phpt20 $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);
33 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
36 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
43 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
46 printf("[008] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
49 printf("[009] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
70 printf("[013] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_data_seek_oo.phpt13 $tmp = NULL;
24 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[004] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
33 printf("[005] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
36 printf("[006] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
39 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
46 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
53 printf("[011] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
56 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
64 printf("[014] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_affected_rows_oo.phpt15 printf("[000a] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
23 printf("[002] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
35 printf("[006] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
40 printf("[007] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp);
46 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
52 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
59 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
65 printf("[015] Expecting int/4, got %s/%s\n", gettype($tmp), $tmp);
71 printf("[016] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
77 printf("[018] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_info.phpt14 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
17 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
24 if (!is_null($tmp = mysqli_info($link)) || ('' != $tmp))
25 printf("[004] Expecting null, got %s/%s\n", gettype($tmp), $tmp);
30 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
39 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
45 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
51 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
57 if (!is_null($tmp = mysqli_info($link)) || ('' != $tmp))
58 printf("[014] Expecting null, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_data_seek.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_stmt_data_seek()))
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);
34 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
45 printf("[009] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
53 printf("[011] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
61 printf("[013] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
69 printf("[015] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_fetch.phpt18 $tmp = NULL;
22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
34 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
40 if ((NULL !== ($tmp = mysqli_stmt_fetch($stmt))) && (false !== $tmp))
47 printf("[008] NULL, got %s/%s\n", gettype($tmp), $tmp);
62 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
66 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
72 printf("[015] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
77 printf("[016] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_prepare_no_object.phpt13 if (false !== ($tmp = mysqli_prepare($link, false)))
14 …] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : …
17 if (false !== ($tmp = mysqli_prepare($link, '')))
18 …] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : …
27 if (false !== ($tmp = $mysqli->prepare(false)))
28 …] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : …
31 if (false !== ($tmp = $mysqli->prepare('')))
32 …] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : …
H A Dmysqli_close_oo.phpt13 $tmp = NULL;
20 if (!is_null($tmp = @$mysqli->close($link)))
21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
23 $tmp = $mysqli->close();
24 if (true !== $tmp)
25 printf("[003] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
27 if (!is_null($tmp = @$mysqli->close()))
28 printf("[004] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
30 if (!is_null($tmp = @$mysqli->query("SELECT 1")))
31 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_character_set_name.phpt14 $tmp = NULL;
18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
24 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
32 $tmp = mysqli_fetch_assoc($res);
43 $tmp = mysqli_fetch_assoc($res);
45 if (!$tmp['charset'])
49 if ($tmp['charset'] !== $charset) {
52 $tmp['collation'], $tmp['charset'], gettype($charset), $charset);
66 printf("[013] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_thread_id.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_thread_id()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_thread_id($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
24 if (!is_int($tmp = mysqli_thread_id($link)) || (0 === $tmp))
26 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link));
33 if (NULL !== ($tmp = mysqli_thread_id($link)))
34 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_explain_metadata.phpt38 $num_rows, gettype($tmp), $tmp);
42 $num_fields, gettype($tmp), $tmp);
47 $num_fields, gettype($tmp), $tmp);
77 $num_rows, gettype($tmp), $tmp);
81 $num_fields, gettype($tmp), $tmp);
85 $num_fields, gettype($tmp), $tmp);
89 $num_fields, gettype($tmp), $tmp);
94 $num_fields, gettype($tmp), $tmp);
111 $num_rows, gettype($tmp), $tmp);
118 $num_fields, gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_sqlstate.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_stmt_sqlstate()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_stmt_sqlstate($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);
30 if (NULL !== ($tmp = mysqli_stmt_sqlstate($stmt)))
31 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
38 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
43 if ('' === ($tmp = mysqli_stmt_sqlstate($stmt)))
[all …]
H A Dmysqli_error.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_error()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_error($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 $tmp = mysqli_error($link);
28 if (!is_string($tmp) || ('' !== $tmp))
29 …printf("[004] Expecting string/empty, got %s/%s. [%d] %s\n", gettype($tmp), $tmp, mysqli_errno($li…
36 $tmp = mysqli_error($link);
37 if (!is_string($tmp) || !preg_match("/Table '\w*\.test' doesn't exist/su", $tmp))
[all …]
H A Dmysqli_next_result.phpt19 $tmp = NULL;
23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
34 printf("[003] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
37 $tmp = ob_get_contents();
44 print trim($tmp) . "\n";
50 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
53 $tmp = ob_get_contents();
60 print trim($tmp) . "\n";
82 $tmp = ob_get_contents();
[all …]
H A Dmysqli_stmt_execute.phpt19 $tmp = NULL;
23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
35 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
42 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
49 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
56 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
80 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
91 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
95 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
[all …]
/PHP-5.5/ext/mysql/tests/
H A Dmysql_info.phpt13 printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
16 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
23 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
28 if (!is_string($tmp = mysql_info($link)) || ('' == $tmp))
29 printf("[006] Expecting string/any_non_empty, got %s/%s\n", gettype($tmp), $tmp);
34 if (!is_string($tmp = mysql_info($link)) || ('' == $tmp))
35 printf("[008] Expecting string/any_non_empty, got %s/%s\n", gettype($tmp), $tmp);
40 if (!is_string($tmp = mysql_info($link)) || ('' == $tmp))
46 if (!is_string($tmp = mysql_info($link)) || ('' == $tmp))
57 if ($def_tmp !== $tmp) {
[all …]
H A Dmysql_insert_id.phpt13 $tmp = NULL;
16 if (0 !== ($tmp = @mysql_insert_id()))
17 printf("[001] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
23 printf("[002a] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 if (0 !== ($tmp = mysql_insert_id($link)))
28 printf("[003] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
34 printf("[005] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
42 printf("[007] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
51 printf("[010] Expecting int/not zero, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysql_data_seek.phpt12 $tmp = NULL;
15 if (NULL !== ($tmp = @mysql_data_seek()))
16 printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
19 printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
22 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
36 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
43 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
46 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
54 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysql_field_len.phpt12 $tmp = NULL;
15 if (!is_null($tmp = @mysql_field_len()))
16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
18 if (null !== ($tmp = @mysql_field_len($link)))
19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 if (NULL !== ($tmp = mysql_field_len($res)))
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_int($tmp = mysql_field_len($res, 0)) || empty($tmp))
33 printf("[006] Expecting non empty integer, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysql_error.phpt12 $tmp = NULL;
15 if (false !== ($tmp = @mysql_error()))
16 printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
18 if (NULL !== ($tmp = @mysql_error($link)))
19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
22 printf("[002b] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 $tmp = mysql_error($link);
30 if (!is_string($tmp) || ('' !== $tmp))
38 $tmp = mysql_error($link);
39 if (!is_string($tmp) || !preg_match("/Table '\w*\.test' doesn't exist/su", $tmp))
[all …]
/PHP-5.5/ext/standard/tests/streams/
H A Dbug46426.phpt6 $tmp = tmpfile();
8 fwrite($tmp, b"12345");
10 echo stream_get_contents($tmp, 2, 1);
12 echo stream_get_contents($tmp, -1);
14 echo stream_get_contents($tmp, -1, 0);
16 echo stream_get_contents($tmp, -1, 2);
18 echo stream_get_contents($tmp, 0, 0);
20 echo stream_get_contents($tmp, 1, 0);
22 echo stream_get_contents($tmp, -1);
24 @unlink($tmp);
/PHP-5.5/ext/soap/
H A Dphp_packet_soap.c188 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
193 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
200 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
212 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
213 tmp = get_node(tmp->children, "Value"); in parse_packet_soap()
214 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
220 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
222 tmp = get_node(tmp->children,"Text"); in parse_packet_soap()
223 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
261 zval* tmp; in parse_packet_soap() local
[all …]
/PHP-5.5/ext/standard/tests/file/
H A Dunlink_variation10.phpt21 $workDir = "unlinkVar8.tmp";
22 $tmpDir = "subDir.tmp";
86 -- unlinking soft link unlinkVar8.tmp/subDir.tmp --
88 -- unlinking soft link ./unlinkVar8.tmp/subDir.tmp --
90 -- unlinking soft link unlinkVar8.tmp/../unlinkVar8.tmp/subDir.tmp --
92 -- unlinking soft link /%s/unlinkVar8.tmp/subDir.tmp --
94 -- unlinking soft link /%s/./unlinkVar8.tmp/subDir.tmp --
96 -- unlinking soft link /%s/unlinkVar8.tmp/../unlinkVar8.tmp/subDir.tmp --
98 -- unlinking soft link unlinkVar8.tmp//subDir.tmp --
100 -- unlinking soft link /%s//unlinkVar8.tmp//subDir.tmp --
[all …]
/PHP-5.5/tests/lang/
H A Dbug21600.phpt7 $tmp = array();
8 $tmp['foo'] = "test";
9 $tmp['foo'] = &bar($tmp['foo']);
10 var_dump($tmp);
12 unset($tmp);
14 $tmp = array();
15 $tmp['foo'] = "test";
16 $tmp['foo'] = &fubar($tmp['foo']);
17 var_dump($tmp);

Completed in 49 milliseconds

12345678910>>...47