/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_exec.phpt | 78 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 D | pdo_mysql_pconnect.phpt | 25 $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 D | pdo_mysql_commit.phpt | 20 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 D | pdo_mysql_prepare_native_anonymous_placeholder.phpt | 23 $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 D | pdo_mysql_prepare_emulated_myisam_index.phpt | 26 $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 D | mysqli_data_seek.phpt | 15 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 D | mysqli_stmt_insert_id.phpt | 26 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 D | mysqli_connect_error.phpt | 13 $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 D | mysqli_set_charset.phpt | 29 $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 D | mysqli_stmt_get_result_seek.phpt | 67 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 D | mysqli_real_escape_string_big5.phpt | 42 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 D | mysqli_errno_oo.phpt | 13 $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 D | mysqli_rollback.phpt | 22 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 D | mysqli_savepoint.phpt | 34 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 D | stream_get_meta_data_file_variation1.phpt | 49 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 D | stream_get_contents_negative_length.phpt | 6 $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 D | copy_variation17.phpt | 10 $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 D | rename_variation13.phpt | 16 $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 D | mb_check_encoding_array.phpt | 11 $tmp = &$arr; 12 $arr[] = $tmp; 18 $tmp = &$arr1; 19 $arr1[] = $tmp; 21 $tmp = &$arr2; 22 $arr2[] = $tmp;
|
/php-src/ext/standard/ |
H A D | crypt_blowfish.c | 375 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 D | gdkanji.c | 74 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 D | blacklist.phpt | 17 /* 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 D | scandir_basic.phpt | 44 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 D | scandir_variation9.phpt | 38 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 D | idate.phpt | 6 $tmp = "UYozymndjHGhgistwNLBIW"; 7 for($a = 0;$a < strlen($tmp); $a++){ 8 echo $tmp[$a], ': ', idate($tmp[$a], 1043324459)."\n";
|