Home
last modified time | relevance | path

Searched refs:tmp (Results 176 – 200 of 1186) sorted by relevance

12345678910>>...48

/PHP-5.6/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-5.6/ext/mysql/tests/
H A Dmysql_create_db.phpt14 $tmp = null;
16 if (false !== ($tmp = mysql_create_db()))
17 printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
19 if (false !== ($tmp = mysql_create_db($link, $link, $link)))
20 printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
32 if (true !== ($tmp = mysql_create_db("mysqlcreatedb", $link)))
33 …printf("[006] Expecting boolean/true, got %s/%s, [%d] %s\n", gettype($tmp), $tmp, mysql_errno($lin…
35 if (false !== ($tmp = mysql_create_db("mysqlcreatedb", $link)))
36 …printf("[007] Expecting boolean/false, got %s/%s, [%d] %s\n", gettype($tmp), $tmp, mysql_errno($li…
H A Dmysql_num_rows.phpt12 $tmp = NULL;
15 if (!is_null($tmp = @mysql_num_rows()))
16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
18 if (NULL !== ($tmp = @mysql_num_rows($link)))
19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 if ($expected !== ($tmp = mysql_num_rows($res)))
33 gettype($tmp), $tmp);
37 if ($test_free && (false !== ($tmp = mysql_num_rows($res))))
38 printf("[%03d] Expecting boolean/false, got %s/%s\n", $offset + 2, gettype($tmp), $tmp);
H A Dmysql_drop_db.phpt13 $tmp = NULL;
18 if (NULL !== ($tmp = mysql_drop_db()))
19 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
28 if (true !== ($tmp = mysql_drop_db('mysqldropdb', $link)))
30 gettype($tmp), $tmp,
33 if (false !== ($tmp = mysql_drop_db('mysqldropdb', $link)))
35 gettype($tmp), $tmp,
H A Dmysql_client_encoding.phpt12 $tmp = NULL;
27 $tmp = mysql_fetch_assoc($res);
29 $version = explode('.', $tmp['server_version']);
38 $tmp = mysql_fetch_assoc($res);
40 if (!$tmp['charset'])
43 if ($link_enc !== $tmp['charset']) {
44 if ($link_enc === $tmp['collation']) {
49 var_dump($tmp);
64 if (false !== ($tmp = @mysql_client_encoding($link)))
65 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
/PHP-5.6/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-5.6/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-5.6/ext/mysqli/tests/
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 …]
/PHP-5.6/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-5.6/sapi/phpdbg/
H A Dphpdbg_frame.c103 static void phpdbg_dump_prototype(zval **tmp TSRMLS_DC) /* {{{ */ in phpdbg_dump_prototype()
108 zend_hash_find(Z_ARRVAL_PP(tmp), "function", sizeof("function"), in phpdbg_dump_prototype()
111 if ((is_class = zend_hash_find(Z_ARRVAL_PP(tmp), in phpdbg_dump_prototype()
113 is_class = zend_hash_find(Z_ARRVAL_PP(tmp), "class", sizeof("class"), in phpdbg_dump_prototype()
121 zend_hash_find(Z_ARRVAL_PP(tmp), "type", sizeof("type"), (void **)&type); in phpdbg_dump_prototype()
130 if (zend_hash_find(Z_ARRVAL_PP(tmp), "args", sizeof("args"), in phpdbg_dump_prototype()
167 zval **tmp; in phpdbg_dump_backtrace() local
184 zend_hash_find(Z_ARRVAL_PP(tmp), "line", sizeof("line"), (void **)&line); in phpdbg_dump_backtrace()
188 (void**)&tmp, &position) == FAILURE) { in phpdbg_dump_backtrace()
195 phpdbg_dump_prototype(tmp TSRMLS_CC); in phpdbg_dump_backtrace()
[all …]
/PHP-5.6/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>>...48