Home
last modified time | relevance | path

Searched refs:tmp (Results 151 – 175 of 1142) sorted by relevance

12345678910>>...46

/PHP-7.0/ext/mysqli/tests/
H A Dmysqli_real_escape_string_gb2312.phpt45 if ('����\\\\����' !== ($tmp = mysqli_real_escape_string($link, '����\\����')))
46 printf("[004] Expecting \\\\, got %s\n", $tmp);
48 if ('����\"����' !== ($tmp = mysqli_real_escape_string($link, '����"����')))
49 printf("[005] Expecting \", got %s\n", $tmp);
51 if ("����\'����" !== ($tmp = mysqli_real_escape_string($link, "����'����")))
52 printf("[006] Expecting ', got %s\n", $tmp);
54 if ("����\\n����" !== ($tmp = mysqli_real_escape_string($link, "����\n����")))
55 printf("[007] Expecting \\n, got %s\n", $tmp);
57 if ("����\\r����" !== ($tmp = mysqli_real_escape_string($link, "����\r����")))
58 printf("[008] Expecting \\r, got %s\n", $tmp);
[all …]
H A Dmysqli_real_escape_string_gbk.phpt47 if ('�İ汾\\\\�İ汾' !== ($tmp = mysqli_real_escape_string($link, '�İ汾\\�İ汾')))
48 printf("[004] Expecting \\\\, got %s\n", $tmp);
50 if ('�İ汾\"�İ汾' !== ($tmp = mysqli_real_escape_string($link, '�İ汾"�İ汾')))
51 printf("[005] Expecting \", got %s\n", $tmp);
53 if ("�İ汾\'�İ汾" !== ($tmp = mysqli_real_escape_string($link, "�İ汾'�İ汾")))
54 printf("[006] Expecting ', got %s\n", $tmp);
56 if ("�İ汾\\n�İ汾" !== ($tmp = mysqli_real_escape_string($link, "�İ汾\n�İ汾")))
57 printf("[007] Expecting \\n, got %s\n", $tmp);
59 if ("�İ汾\\r�İ汾" !== ($tmp = mysqli_real_escape_string($link, "�İ汾\r�İ汾")))
60 printf("[008] Expecting \\r, got %s\n", $tmp);
[all …]
H A Dmysqli_sqlstate.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_sqlstate()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_sqlstate($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_embedded_connect.phpt12 $tmp = NULL;
15 if (NULL !== ($tmp = @mysqli_embedded_connect()))
16 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
23 if (!is_bool($tmp = mysqli_embedded_connect($db . '_unknown')))
24 printf("[003] Expecting boolean/[true|false] value, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_get_server_version.phpt13 if (!is_null($tmp = @mysqli_get_server_version()))
14 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
16 if (!is_null($tmp = @mysqli_get_server_version(NULL)))
17 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_connect_twice.phpt20 if (true !== ($tmp = my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))
21 printf("[003] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp);
24 printf("[004] Expecting int/any got %s/%s\n", gettype($tmp), $tmp);
45 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket)))
46 printf("[009] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp);
49 printf("[010] Expecting int/any got %s/%s\n", gettype($tmp), $tmp);
63 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
64 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
70 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
71 printf("[015] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_bind_result_references.phpt25 printf("[002] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
42 printf("[004] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
62 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
81 printf("[008] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
95 printf("[010] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
110 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
128 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
145 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
166 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
185 printf("[016] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_multi_query.phpt18 $tmp = NULL;
21 if (!is_null($tmp = @mysqli_multi_query()))
22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[003] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
48 $tmp = ob_get_contents();
53 … $tmp = trim(preg_replace('@Strict Standards: mysqli_next_result\(\).*on line \d+@ism', '', $tmp));
55 print trim($tmp) . "\n";
86 $tmp = ob_get_contents();
91 … $tmp = trim(preg_replace('@Strict Standards: mysqli_next_result\(\).*on line \d+@ism', '', $tmp));
[all …]
H A Dmysqli_fetch_row.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_fetch_row()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_fetch_row($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_fetch_field.phpt13 $tmp = NULL;
17 if (!is_null($tmp = @mysqli_fetch_field()))
18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
37 $tmp = mysqli_fetch_field($res);
38 var_dump($tmp);
41 $tmp = mysqli_fetch_field($res);
42 var_dump($tmp);
51 if ($tmp->db != $db) {
53 $db, $tmp->db);
[all …]
H A Dmysqli_report_wo_ps.phpt20 $tmp = NULL;
23 if (NULL !== ($tmp = @mysqli_report()))
24 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 if (true !== ($tmp = mysqli_report(-1)))
27 printf("[002] Expecting boolean/true even for invalid flags, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[003] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
33 printf("[004] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
36 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
38 if (true !== ($tmp = mysqli_report(MYSQLI_REPORT_ALL)))
39 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
[all …]
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);
68 $tmp = mysqli_fetch_assoc($res);
[all …]
H A Dmysqli_stmt_num_rows.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_stmt_num_rows()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_stmt_num_rows($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
44 if ($expected !== ($tmp = mysqli_stmt_num_rows($stmt)))
47 gettype($tmp), $tmp);
80 if (0 !== ($tmp = mysqli_stmt_num_rows($stmt)))
81 printf("[53 - %03d] Expecting int/0, got %s/%s\n", $i, gettype($tmp), $tmp);
96 printf("[54] Expecting int/7, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_kill.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_kill()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_kill($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[003] Expecting boolean/any, got %s/%s\n", gettype($tmp), $tmp);
31 $tmp = mysqli_kill($link, $thread_id);
32 if (!is_bool($tmp))
33 printf("[005] Expecting boolean/any, got %s/%s\n", gettype($tmp), $tmp);
63 (!$tmp = mysqli_fetch_assoc($res))) {
[all …]
/PHP-7.0/ext/spl/tests/
H A Dbug68557.phpt5 mkdir(__DIR__ . DIRECTORY_SEPARATOR . 'tmp');
6 touch(__DIR__ . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'a');
7 touch(__DIR__ . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'b');
9 $d = new DirectoryIterator(__DIR__ . DIRECTORY_SEPARATOR . 'tmp');
34 unlink(__DIR__ . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'a');
35 unlink(__DIR__ . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'b');
36 rmdir(__DIR__ . DIRECTORY_SEPARATOR . 'tmp');
/PHP-7.0/ext/standard/tests/file/
H A Dis_dir_variation2.phpt39 $filename = $file_path."/is_dir_variation2.tmp";
45 symlink($file_path."/is_dir_variation2.tmp", $file_path."/is_dir_variation2_symlink.tmp");
46 var_dump( is_dir($file_path."/is_dir_variation2_symlink.tmp") );
50 link($file_path."/is_dir_variation2.tmp", $file_path."/is_dir_variation2_link.tmp");
51 var_dump( is_dir($file_path."/is_dir_variation2_link.tmp") );
65 if(file_exists($file_path."/is_dir_variation2_symlink.tmp")) {
66 unlink($file_path."/is_dir_variation2_symlink.tmp");
68 if(file_exists($file_path."/is_dir_variation2_link.tmp")) {
69 unlink($file_path."/is_dir_variation2_link.tmp");
71 if(file_exists($file_path."/is_dir_variation2.tmp")) {
[all …]
H A Dfseek_dir_basic.phpt54 string(9) "file1.tmp"
56 string(9) "file2.tmp"
58 string(9) "file3.tmp"
72 string(9) "file1.tmp"
74 string(9) "file2.tmp"
76 string(9) "file3.tmp"
90 string(9) "file1.tmp"
92 string(9) "file2.tmp"
94 string(9) "file3.tmp"
H A Dis_file_error.phpt15 $file_handle = fopen($file_path."/is_file_error.tmp", "w");
16 var_dump( is_file( $file_path."/is_file_error.tmp", $file_path."/is_file_error1.tmp") );
19 var_dump( is_file($file_path."/is_file_error1.tmp") );
32 if(file_exists($file_path."/is_file_error.tmp")) {
33 unlink($file_path."/is_file_error.tmp");
35 if(file_exists($file_path."/is_file_error1.tmp")) {
36 unlink($file_path."/is_file_error1.tmp");
H A Dis_file_variation4.phpt17 $file_handle = fopen($dir_name."/is_file_variation4.tmp", "w");
21 "/is_file_variation4/is_file_variation4.tmp",
24 "/is_file_variation4/is_file_variation4.tmp/",
27 "/is_file_variation4//is_file_variation4.tmp",
28 "//is_file_variation4//is_file_variation4.tmp",
29 "/is_file_variation4/*.tmp",
30 "is_file_variation4/is_file*.tmp",
33 "/is_file_variation4/is_file_variation4.tmp".chr(0),
34 "/is_file_variation4/is_file_variation4.tmp\0"
52 unlink($dir_name."/is_file_variation4.tmp");
/PHP-7.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_statement_class.phpt19 if (false !== ($tmp = @$db->setAttribute(PDO::ATTR_STATEMENT_CLASS)))
20 printf("[001] Expecting boolean/false got %s\n", var_export($tmp, true));
22 if (false !== ($tmp = @$db->setAttribute(PDO::ATTR_STATEMENT_CLASS, 'foo')))
23 printf("[002] Expecting boolean/false got %s\n", var_export($tmp, true));
26 printf("[003] Expecting boolean/false got %s\n", var_export($tmp, true));
30 printf("[004] Expecting boolean/false got %s\n", var_export($tmp, true));
39 printf("[005] Expecting boolean/false got %s\n", var_export($tmp, true));
49 printf("[006] Expecting boolean/false got %s\n", var_export($tmp, true));
59 printf("[007] Expecting boolean/true got %s\n", var_export($tmp, true));
69 printf("[008] Expecting boolean/true got %s\n", var_export($tmp, true));
[all …]
H A Dpdo_mysql_commit.phpt19 if (true !== ($tmp = $db->beginTransaction())) {
20 printf("[001] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
26 if (true !== ($tmp = $db->commit())) {
33 if (1 !== ($tmp = $db->getAttribute(PDO::ATTR_AUTOCOMMIT)))
35 gettype($tmp), var_export($tmp, true));
37 if (true !== ($tmp = $db->beginTransaction()))
38 printf("[004] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
42 if (true !== ($tmp = $db->commit()))
59 if (true !== ($tmp = $db->beginTransaction()))
60 printf("[007] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dpdo_mysql_pconnect.phpt23 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
24 if ($tmp['_pers'] !== '1')
28 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
29 $con1 = $tmp['_con1'];
32 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
33 $con2 = $tmp['_con2'];
41 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
42 $con1 = $tmp['_con1'];
58 if (!strstr($tmp, '2006'))
65 $con1 = $tmp['_con1'];
[all …]
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 …]
/PHP-7.0/sapi/fpm/tests/
H A D020.phpt11 $logfile = __DIR__.'/php-fpm.log.tmp';
12 $accfile = 'php-fpm.acc.tmp';
13 $slwfile = 'php-fpm.slw.tmp';
14 $pidfile = __DIR__.'/php-fpm.pid.tmp';
60 File php-fpm.acc.tmp exists
61 File php-fpm.slw.tmp exists
67 $logfile = __DIR__.'/php-fpm.log.tmp';
68 $accfile = __DIR__.'/php-fpm.acc.tmp';
69 $slwfile = __DIR__.'/php-fpm.slw.tmp';
70 $pidfile = __DIR__.'/php-fpm.pid.tmp';
/PHP-7.0/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 …]

Completed in 45 milliseconds

12345678910>>...46