/php-src/ext/mysqli/tests/ |
H A D | mysqli_connect_twice.phpt | 20 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); 43 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket))) 44 printf("[009] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 47 printf("[010] Expecting int/any got %s/%s\n", gettype($tmp), $tmp); 61 if (true !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 62 printf("[013] Expecting true got %s/%s\n", gettype($tmp), $tmp); 68 if (true !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 69 printf("[015] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_release_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 (false !== ($tmp = mysqli_release_savepoint($link, 'my'))) 39 …printf("[010] Got %s - [%d] %s\n", var_dump($tmp, true), mysqli_errno($link), mysqli_error($link)); 44 $tmp = mysqli_commit($link); 45 if ($tmp !== true) 46 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 48 if (true !== ($tmp = mysqli_savepoint($link, 'my'))) 49 …printf("[013] Got %s - [%d] %s\n", var_dump($tmp, true), mysqli_errno($link), mysqli_error($link)); 54 if (true !== ($tmp = mysqli_release_savepoint($link, 'my'))) [all …]
|
H A D | mysqli_stmt_bind_result_references.phpt | 25 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 D | mysqli_query.phpt | 19 if (false !== ($tmp = mysqli_query($link, 'THIS IS NOT SQL'))) 20 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 37 var_dump($tmp = mysqli_fetch_assoc($res)); 38 var_dump($tmp[""]); 51 $tmp = mysqli_fetch_assoc($res); 52 … if (!is_array($tmp) || empty($tmp) || !isset($tmp['p_version']) || ('' == $tmp['p_version'])) { 54 var_dump($tmp); 66 $tmp = mysqli_fetch_assoc($res); 67 … if (!is_array($tmp) || empty($tmp) || !isset($tmp['f_version']) || ('' == $tmp['f_version'])) { [all …]
|
H A D | mysqli_stmt_data_seek.phpt | 25 if (true !== ($tmp = mysqli_stmt_execute($stmt))) 26 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 36 if (!is_null($tmp = mysqli_stmt_data_seek($stmt, 2))) 37 printf("[009] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 44 if (!is_null($tmp = mysqli_stmt_data_seek($stmt, 0))) 45 printf("[011] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 52 if (!is_null($tmp = mysqli_stmt_data_seek($stmt, mysqli_stmt_num_rows($stmt) + 100))) 53 printf("[013] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_connect_attr.phpt | 16 $tmp = mysqli_fetch_assoc($res); 18 if($tmp['count'] == "0") { 27 $tmp = mysqli_fetch_assoc($res); 29 if($tmp['Value'] == "OFF") { 40 $tmp = NULL; 51 $tmp = mysqli_fetch_assoc($res); 52 if (!$tmp || !isset($tmp['ATTR_NAME'])) { 54 } elseif ($tmp['ATTR_VALUE'] !== $host) { 64 $tmp = mysqli_fetch_assoc($res); 65 if (!$tmp || !isset($tmp['ATTR_NAME'])) { [all …]
|
H A D | mysqli_stmt_attr_set.phpt | 119 printf("[011] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 122 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 125 printf("[013] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 128 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 147 printf("[016] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 164 printf("[018] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 192 if (true !== ($tmp = $stmt->attr_set(MYSQLI_STMT_ATTR_PREFETCH_ROWS, 1))) 193 printf("[020] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 208 printf("[022] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 214 printf("[023] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_error_unicode.phpt | 20 $tmp = mysqli_error($link); 21 if (!is_string($tmp) || ('' !== $tmp)) 22 …printf("[004] Expecting string/empty, got %s/%s. [%d] %s\n", gettype($tmp), $tmp, mysqli_errno($li… 26 $tmp = mysqli_error($link); 27 var_dump(str_replace($db.".", "", $tmp));
|
H A D | mysqli_pconn_twice.phpt | 23 if (true !== ($tmp = my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))) 24 printf("[003] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 39 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket))) 40 printf("[009] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 53 if (true !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 54 printf("[013] Expecting true got %s/%s\n", gettype($tmp), $tmp); 60 if (true !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 61 printf("[015] Expecting true got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_warning_count.phpt | 16 if (0 !== ($tmp = mysqli_warning_count($link))) 17 printf("[005] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 22 if (1 !== ($tmp = mysqli_warning_count($link))) 23 printf("[007] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
|
/php-src/ext/standard/tests/file/ |
H A D | is_dir_variation2.phpt | 35 $filename = $file_path."/is_dir_variation2.tmp"; 41 symlink($file_path."/is_dir_variation2.tmp", $file_path."/is_dir_variation2_symlink.tmp"); 42 var_dump( is_dir($file_path."/is_dir_variation2_symlink.tmp") ); 46 link($file_path."/is_dir_variation2.tmp", $file_path."/is_dir_variation2_link.tmp"); 47 var_dump( is_dir($file_path."/is_dir_variation2_link.tmp") ); 61 if(file_exists($file_path."/is_dir_variation2_symlink.tmp")) { 62 unlink($file_path."/is_dir_variation2_symlink.tmp"); 64 if(file_exists($file_path."/is_dir_variation2_link.tmp")) { 65 unlink($file_path."/is_dir_variation2_link.tmp"); 67 if(file_exists($file_path."/is_dir_variation2.tmp")) { [all …]
|
H A D | mkdir-004.phpt | 6 $dirpath = "./tmp/foo//bar/logs"; 14 rmdir("./tmp/foo/bar/logs"); 15 rmdir("./tmp/foo/bar/"); 16 rmdir("./tmp/foo/"); 17 rmdir("./tmp/");
|
H A D | is_readable_variation1.phpt | 18 $fp = fopen("$file_path/is_readable_variation1/bar.tmp", "w"); 24 "$file_path/is_readable_variation1/bar.tmp", 27 "$file_path/is_readable_variation1/bar.tmp/", 30 "$file_path/is_readable_variation1//bar.tmp", 31 "$file_path//is_readable_variation1//bar.tmp", 32 "$file_path/is_readable_variation1/*.tmp", 33 "$file_path/is_readable_variation1/b*.tmp", 36 "$file_path/is_readable_variation1".chr(0)."bar.tmp", 37 "$file_path".chr(0)."is_readable_variation1/bar.tmp", 38 "$file_path".chr(0)."is_readable_variation1/bar.tmp", [all …]
|
H A D | fseek_dir_basic.phpt | 54 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 D | rename_variation-win32.phpt | 20 "$file_path/rename_variation/rename_variation.tmp", 23 "$file_path/rename_variation/rename_variation.tmp/", 26 "$file_path/rename_variation//rename_variation.tmp", 27 "$file_path//rename_variation//rename_variation.tmp", 32 /* loop through each $file and rename it to rename_variation2.tmp */ 35 $fp = fopen("$file_path/rename_variation/rename_variation.tmp", "w"); 37 $dest_filename = "$file_path/rename_variation2.tmp"; 64 Warning: rename(%s/rename_variation/rename_variation.tmp/,%s/rename_variation2.tmp): The filename, … 69 Warning: unlink(%s/rename_variation2.tmp): No such file or directory in %s on line %d
|
H A D | is_writable_variation1.phpt | 17 $fp = fopen("$file_path/is_writable_variation1/bar.tmp", "w"); 23 "$file_path/is_writable_variation1/bar.tmp", 26 "$file_path/is_writable_variation1/bar.tmp/", 29 "$file_path/is_writable_variation1//bar.tmp", 30 "$file_path//is_writable_variation1//bar.tmp", 31 "$file_path/is_writable_variation1/*.tmp", 32 "$file_path/is_writable_variation1/b*.tmp", 35 "$file_path/is_writable_variation1".chr(0)."bar.tmp", 36 "$file_path".chr(0)."is_writable_variation1/bar.tmp", 37 "$file_path".chr(0)."is_writable_variation1/bar.tmp", [all …]
|
H A D | file_variation.phpt | 13 $fh = fopen($file_path."/file_variation.tmp", "w"); 27 var_dump( file("file1_variation.tmp", FILE_USE_INCLUDE_PATH) ); 28 var_dump( file($file_path1."/file1_variation.tmp", 1) ); 31 $file_handle = fopen($file_path."/file2_variation.tmp", "w"); 34 $out_array = file($file_path."/file2_variation.tmp"); 38 $file_handle2 = fopen($file_path."/file3_variation.tmp", "w"); 45 var_dump( file($file_path."/file3_variation.tmp" )); 54 unlink($file_path."/file_variation.tmp"); 55 unlink($file_path."/file_variation/file1_variation.tmp"); 56 unlink($file_path."/file2_variation.tmp"); [all …]
|
/php-src/ext/soap/ |
H A D | soap.c | 758 zval *tmp; in soap_create_typemap() local 882 zval *tmp; in PHP_METHOD() local 895 service->uri = estrndup(Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); in PHP_METHOD() 2053 (Z_TYPE_P(tmp) == IS_LONG && Z_LVAL_P(tmp) == 1))) { 2059 (Z_TYPE_P(tmp) == IS_LONG && Z_LVAL_P(tmp) == 0))) { 2123 (Z_TYPE_P(tmp) == IS_LONG && Z_LVAL_P(tmp) == 0))) { 2459 zval *tmp; local 2484 zval *tmp; local 4089 return tmp; 4099 return tmp; [all …]
|
/php-src/ext/spl/tests/ |
H A D | bug68557.phpt | 5 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-src/ext/date/lib/ |
H A D | parse_tz.c | 481 tmp, 64, in format_ut_time() 488 return tmp; in format_ut_time() 496 tmp, 64, in format_offset_type() 507 return tmp; in format_offset_type() 665 timelib_tzinfo *tmp; in timelib_parse_tzfile() local 722 tmp = NULL; in timelib_parse_tzfile() 725 return tmp; in timelib_parse_tzfile() 783 return tmp; in timelib_tzinfo_clone() 898 tmp->is_dst = 0; in timelib_get_time_zone_info() 906 tmp->offset = offset; in timelib_get_time_zone_info() [all …]
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_prepare_native_myisam_index.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)) { 75 ($error_info['execute']['mysql'] !== $tmp[1])) { 132 $tmp = $stmt->fetchAll(PDO::FETCH_ASSOC); 141 if ($tmp !== $exp) { 144 var_dump($tmp); 150 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 0) [all …]
|
H A D | pdo_mysql_prepare_native_myisam.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)) { 68 ($error_info['execute']['sqlstate'] !== $tmp[0])) { 75 ($error_info['execute']['mysql'] !== $tmp[1])) { 125 var_dump($tmp); 136 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 0) 142 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 1) [all …]
|
/php-src/ext/gd/tests/ |
H A D | imagerotate_overflow.phpt | 10 $tmp = imagerotate ($im, 5, -9999999); 12 var_dump($tmp); 14 if ($tmp) { 15 imagedestroy($tmp);
|
/php-src/Zend/tests/ |
H A D | class_toString_concat_with_itself.phpt | 11 $tmp = new Tmp; 12 $tmp .= $tmp; 13 echo $tmp . "\n";
|
/php-src/Zend/ |
H A D | zend_exceptions.c | 257 zval tmp; in zend_default_exception_new() local 280 zval_ptr_dtor(&tmp); in zend_default_exception_new() 395 ZVAL_LONG(&tmp, 0); in ZEND_METHOD() 532 zval *file, *tmp; in _build_trace_string() local 546 if (tmp) { in _build_trace_string() 566 if (tmp) { in _build_trace_string() 653 zval rv, tmp; in ZEND_METHOD() local 739 ZVAL_STR(&tmp, str); in ZEND_METHOD() 817 zval ex, tmp; in zend_throw_exception_zstr() local 873 zval tmp; in zend_throw_error_exception() local [all …]
|