Home
last modified time | relevance | path

Searched refs:tmp (Results 126 – 150 of 1135) sorted by relevance

12345678910>>...46

/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_exec.phpt78 if (count($tmp) > 1 || !isset($tmp[0]['p_version'])) {
80 var_dump($tmp);
87 if (count($tmp) > 1 || !isset($tmp[0]['_version'])) {
89 var_dump($tmp);
94 $tmp[0]['_version'], gettype($tmp[0]['_version']));
117 if (count($tmp) > 1 || !isset($tmp[0]['f_version'])) {
119 var_dump($tmp);
125 if (count($tmp) > 1 || !isset($tmp[0]['_version'])) {
132 $tmp[0]['_version'], gettype($tmp[0]['_version']));
152 if ($exp !== $tmp)
[all …]
H A Dpdo_mysql_pconnect.phpt25 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
26 if ($tmp['_pers'] != 1)
30 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
31 $con1 = $tmp['_con1'];
34 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
35 $con2 = $tmp['_con2'];
44 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
45 $con1 = $tmp['_con1'];
61 if (!strstr($tmp, '2006'))
69 $con1 = $tmp['_con1'];
[all …]
H A Dpdo_mysql_commit.phpt20 if (true !== ($tmp = $db->beginTransaction())) {
21 printf("[001] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
38 if (true !== ($tmp = $db->getAttribute(PDO::ATTR_AUTOCOMMIT)))
40 gettype($tmp), var_export($tmp, true));
42 if (true !== ($tmp = $db->beginTransaction()))
43 printf("[004] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
47 if (true !== ($tmp = $db->commit()))
64 if (true !== ($tmp = $db->beginTransaction()))
65 printf("[007] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
68 if (true !== ($tmp = $db->commit()))
H A Dpdo_mysql_prepare_native_anonymous_placeholder.phpt23 $tmp = $db->errorInfo();
26 ($error_info['prepare']['sqlstate'] !== $tmp[0])) {
33 ($error_info['prepare']['mysql'] !== $tmp[1])) {
58 $tmp = $stmt->errorInfo();
59 if (isset($tmp[1]) && ($tmp[1] == 2030)) {
138 $tmp = $stmt->fetchAll(PDO::FETCH_ASSOC);
155 if ($tmp !== $exp) {
158 var_dump($tmp);
200 $tmp = $stmt->fetchAll(PDO::FETCH_ASSOC);
209 if ($tmp !== $exp) {
[all …]
H A Dpdo_mysql_prepare_emulated_myisam_index.phpt26 $tmp = $db->errorInfo();
29 ($error_info['prepare']['sqlstate'] !== $tmp[0])) {
36 ($error_info['prepare']['mysql'] !== $tmp[1])) {
38 $offset, $error_info['prepare']['mysql'], $tmp[0]);
58 $tmp = $stmt->errorInfo();
61 ($error_info['execute']['sqlstate'] !== $tmp[0])) {
68 ($error_info['execute']['mysql'] !== $tmp[1])) {
108 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2)
134 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 0)
141 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2)
[all …]
/php-src/ext/mysqli/tests/
H A Dmysqli_data_seek.phpt15 if (true !== ($tmp = mysqli_data_seek($res, 3)))
16 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
22 if (true !== ($tmp = mysqli_data_seek($res, 0)))
23 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
29 if (false !== ($tmp = mysqli_data_seek($res, 4)))
30 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_insert_id.phpt26 if (0 !== ($tmp = mysqli_stmt_insert_id($stmt)))
27 printf("[005] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
37 if (0 !== ($tmp = mysqli_stmt_insert_id($stmt)))
38 printf("[007] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
52 if (0 === ($tmp = mysqli_stmt_insert_id($stmt)))
53 printf("[010] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_connect_error.phpt13 $tmp = NULL;
27 if (NULL !== ($tmp = mysqli_connect_error()))
28 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
36 if ('' === ($tmp = mysqli_connect_error()))
37 printf("[004] Expecting string/'', got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_set_charset.phpt29 $tmp = mysqli_fetch_assoc($res);
31 if (!$character_set_connection = $tmp['charset'])
54 $tmp = mysqli_fetch_assoc($res);
56 if ($new_charset !== $tmp['charset'])
57 … printf("[015] Character set not changed? Expecting %s, got %s\n", $new_charset, $tmp['charset']);
62 while ($tmp = mysqli_fetch_assoc($res)) {
64 … ('ucs2' == $tmp['Charset'] || 'utf16' == $tmp['Charset'] || 'utf32' == $tmp['Charset'] || 'utf16l…
67 /* Uncomment to see where it hangs - var_dump($tmp); flush(); */
68 if (!@mysqli_set_charset($link, $tmp['Charset'])) {
69 printf("[017] Cannot set character set to '%s', [%d] %s\n", $tmp['Charset'],
[all …]
H A Dmysqli_stmt_get_result_seek.phpt67 if (false !== ($tmp = $res->data_seek($res->num_rows + 1)))
68 printf("[012] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp);
74 $tmp = @mysqli_data_seek($res, $pos);
76 if (true !== $tmp)
77 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp);
83 if (false !== $tmp)
84 printf("[014] Expecting boolan/false got %s/%s\n", gettype($tmp), $tmp);
91 if (true !== ($tmp = mysqli_data_seek($res, 0)))
92 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp);
95 printf("[016] Expecting array got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_real_escape_string_big5.phpt42 if ('���H�U���e\\\\���H�U���e' !== ($tmp = mysqli_real_escape_string($link,
44 printf("[004] Expecting \\\\, got %s\n", $tmp);
46 if ('���H�U���e\"���H�U���e' !== ($tmp = mysqli_real_escape_string($link,
48 printf("[005] Expecting \", got %s\n", $tmp);
50 if ("���H�U���e\'���H�U���e" !== ($tmp = mysqli_real_escape_string($link,
52 printf("[006] Expecting ', got %s\n", $tmp);
54 if ("���H�U���e\\n���H�U���e" !== ($tmp = mysqli_real_escape_string($link,
56 printf("[007] Expecting \\n, got %s\n", $tmp);
58 if ("���H�U���e\\r���H�U���e" !== ($tmp = mysqli_real_escape_string($link,
60 printf("[008] Expecting \\r, got %s\n", $tmp);
[all …]
H A Dmysqli_errno_oo.phpt13 $tmp = NULL;
17 if (0 !== ($tmp = @$mysqli->errno))
18 printf("[001] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
34 if (($tmp = $mysqli->errno) === 0)
35 printf("[004] Expecting int/any non zero got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_rollback.phpt22 if (true !== ($tmp = mysqli_autocommit($link, false)))
23 … printf("[005] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
34 $tmp = mysqli_rollback($link);
35 if ($tmp !== true)
36 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
40 $tmp = mysqli_fetch_assoc($res);
41 if (0 != $tmp['num'])
42 printf("[12] Expecting 0 rows in table test, found %d rows\n", $tmp['num']);
H A Dmysqli_savepoint.phpt34 if (true !== ($tmp = mysqli_autocommit($link, false)))
35 … printf("[009] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
38 if (true !== ($tmp = mysqli_savepoint($link, 'my')))
39 …printf("[010] Got %s - [%d] %s\n", var_dump($tmp, true), mysqli_errno($link), mysqli_error($link));
44 $tmp = mysqli_rollback($link);
45 if ($tmp !== true)
46 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
/php-src/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 …]
H A Dstream_get_contents_negative_length.phpt6 $tmp = tmpfile();
7 fwrite($tmp, "abcd");
8 var_dump(stream_get_contents($tmp, 2, 1));
11 stream_get_contents($tmp, -2);
/php-src/ext/standard/tests/file/
H A Dcopy_variation17.phpt10 $src_file = $file_path."/copy_variation17.tmp";
19 $file_path."/copy_variation17.tmp", //without wild-card char
20 $file_path."/copy*17.tmp",
21 $file_path."/*_variation17.tmp",
22 $file_path."/copy_variation*.tmp",
23 $file_path."/*.tmp"
26 $dest_file_name = $dir."/copy_copy_variation17.tmp";
45 unlink(__DIR__."/copy_variation17.tmp");
H A Drename_variation13.phpt16 $aFile = $file_path.'/afile.tmp';
59 Warning: rename(-1,%s/renameVar13/afile.tmp): No such file or directory in %s on line %d
64 Warning: rename(1,%s/renameVar13/afile.tmp): No such file or directory in %s on line %d
68 Warning: rename(%s/renameVar13/afile.tmp,): %s in %s on line %d
71 Warning: rename(,%s/renameVar13/afile.tmp): %s in %s on line %d
75 Warning: rename(%s/renameVar13/afile.tmp,): %s in %s on line %d
78 Warning: rename(,%s/renameVar13/afile.tmp): %s in %s on line %d
83 Warning: rename( ,%s/renameVar13/afile.tmp): No such file or directory in %s on line %d
87 Warning: rename(%s/renameVar13/afile.tmp,/no/such/file/dir): No such file or directory in %s on lin…
94 Warning: rename(%s/renameVar13/afile.tmp,php/php): %s directory in %s on line %d
[all …]
/php-src/ext/mbstring/tests/
H A Dmb_check_encoding_array.phpt11 $tmp = &$arr;
12 $arr[] = $tmp;
18 $tmp = &$arr1;
19 $arr1[] = $tmp;
21 $tmp = &$arr2;
22 $arr2[] = $tmp;
/php-src/ext/standard/
H A Dcrypt_blowfish.c375 tmp = BF_atoi64[tmp]; \
377 (dst) = tmp; \
440 BF_word tmp; in BF_swap() local
444 tmp = *x; in BF_swap()
445 tmp = (tmp << 16) | (tmp >> 16); in BF_swap()
446 *x++ = ((tmp & 0x00FF00FF) << 8) | ((tmp >> 8) & 0x00FF00FF); in BF_swap()
581 tmp[0] = tmp[1] = 0; in BF_set_key()
583 tmp[0] <<= 8; in BF_set_key()
585 tmp[1] <<= 8; in BF_set_key()
600 diff |= tmp[0] ^ tmp[1]; /* Non-zero on any differences */ in BF_set_key()
[all …]
/php-src/ext/gd/libgd/
H A Dgdkanji.c74 char *tmp; in error() local
80 efree(tmp); in error()
482 ustrcpy (tmp, from); in do_check_and_conv()
487 ustrcpy (tmp, from); in do_check_and_conv()
495 ustrcpy (tmp, from); in do_check_and_conv()
516 if (tmp[i] == SS2) in do_check_and_conv()
518 p1 = tmp[++i]; in do_check_and_conv()
521 p2 = tmp[i + 2]; in do_check_and_conv()
535 to[j++] = tmp[i]; in do_check_and_conv()
541 ustrcpy (to, tmp); in do_check_and_conv()
[all …]
/php-src/ext/opcache/tests/
H A Dblacklist.phpt17 /* On macOS, `/tmp` is an alias to `/private/tmp` .
18 * So, we should write `%S/tmp/path` as `/tmp/path`, except for Windows.
40 [5] => %S/tmp/path/?nocache.inc
41 [6] => %S/tmp/path/*/somedir
/php-src/ext/standard/tests/dir/
H A Dscandir_basic.phpt44 string(9) "file1.tmp"
46 string(9) "file2.tmp"
48 string(9) "file3.tmp"
54 string(9) "file3.tmp"
56 string(9) "file2.tmp"
58 string(9) "file1.tmp"
H A Dscandir_variation9.phpt38 string(9) "file2.tmp"
40 string(9) "file1.tmp"
48 string(9) "file2.tmp"
50 string(9) "file1.tmp"
62 string(9) "file1.tmp"
64 string(9) "file2.tmp"
/php-src/ext/standard/tests/time/
H A Didate.phpt6 $tmp = "UYozymndjHGhgistwNLBIW";
7 for($a = 0;$a < strlen($tmp); $a++){
8 echo $tmp[$a], ': ', idate($tmp[$a], 1043324459)."\n";

Completed in 51 milliseconds

12345678910>>...46