/PHP-5.5/ext/standard/tests/file/ |
H A D | is_file_variation2.phpt | 18 fclose( fopen($file_path."/is_file_variation2.tmp", "w") ); 22 symlink($file_path."/is_file_variation2.tmp", $file_path."/is_file_variation2_symlink.tmp"); 23 var_dump( is_file($file_path."/is_file_variation2_symlink.tmp") ); //expected true 27 link($file_path."/is_file_variation2.tmp", $file_path."/is_file_variation2_link.tmp"); 28 var_dump( is_file($file_path."/is_file_variation2_link.tmp") ); // expected: true 36 unlink($file_path."/is_file_variation2_symlink.tmp"); 37 unlink($file_path."/is_file_variation2_link.tmp"); 38 unlink($file_path."/is_file_variation2.tmp");
|
H A D | rmdir_variation3-win32.phpt | 20 $workDir = "rmdirVar3.tmp"; 77 -- removing rmdirVar3.tmp\aSubDir -- 79 -- removing .\rmdirVar3.tmp\aSubDir -- 81 -- removing rmdirVar3.tmp\..\rmdirVar3.tmp\aSubDir -- 89 -- removing %s\rmdirVar3.tmp\aSubDir -- 91 -- removing %s\.\rmdirVar3.tmp\aSubDir -- 93 -- removing %s\rmdirVar3.tmp\..\rmdirVar3.tmp\aSubDir -- 98 -- removing rmdirVar3.tmp\aSubDir\ -- 100 -- removing %s\rmdirVar3.tmp\aSubDir\ -- 102 -- removing rmdirVar3.tmp\\aSubDir -- [all …]
|
H A D | fileowner_variation1.phpt | 20 fclose( fopen($file_path."/fileowner_variation1.tmp", "w") ); 24 symlink($file_path."/fileowner_variation1.tmp", $file_path."/fileowner_variation1_symlink.tmp"); 25 var_dump( fileowner($file_path."/fileowner_variation1_symlink.tmp") ); //expected true 29 link($file_path."/fileowner_variation1.tmp", $file_path."/fileowner_variation1_link.tmp"); 30 var_dump( fileowner($file_path."/fileowner_variation1_link.tmp") ); // expected: true 38 unlink($file_path."/fileowner_variation1_symlink.tmp"); 39 unlink($file_path."/fileowner_variation1_link.tmp"); 40 unlink($file_path."/fileowner_variation1.tmp");
|
H A D | mkdir_variation5.phpt | 20 $workDir = "mkdirVar5.tmp"; 69 -- creating mkdirVar5.tmp/aSubDir -- 71 -- creating ./mkdirVar5.tmp/aSubDir -- 73 -- creating mkdirVar5.tmp/../mkdirVar5.tmp/aSubDir -- 81 -- creating %s/mkdirVar5.tmp/aSubDir -- 83 -- creating %s/./mkdirVar5.tmp/aSubDir -- 85 -- creating %s/mkdirVar5.tmp/../mkdirVar5.tmp/aSubDir -- 90 -- creating mkdirVar5.tmp/aSubDir/ -- 92 -- creating %s/mkdirVar5.tmp/aSubDir/ -- 94 -- creating mkdirVar5.tmp//aSubDir -- [all …]
|
H A D | mkdir_variation5-win32.phpt | 20 $workDir = "mkdirVar5.tmp"; 74 -- creating mkdirVar5.tmp\aSubDir -- 76 -- creating .\mkdirVar5.tmp\aSubDir -- 78 -- creating mkdirVar5.tmp\..\mkdirVar5.tmp\aSubDir -- 86 -- creating %s\mkdirVar5.tmp\aSubDir -- 88 -- creating %s\.\mkdirVar5.tmp\aSubDir -- 90 -- creating %s\mkdirVar5.tmp\..\mkdirVar5.tmp\aSubDir -- 95 -- creating mkdirVar5.tmp\aSubDir\ -- 97 -- creating %s\mkdirVar5.tmp\aSubDir\ -- 99 -- creating mkdirVar5.tmp\\aSubDir -- [all …]
|
H A D | fileperms_variation3.phpt | 18 $file_handle = fopen($dir_name."/fileperms_variation3.tmp", "w"); 22 "/fileperms_variation3/fileperms_variation3.tmp", 25 "/fileperms_variation3/fileperms_variation3.tmp/", 28 "/fileperms_variation3//fileperms_variation3.tmp", 29 "//fileperms_variation3//fileperms_variation3.tmp", 30 "/fileperms_variation3/*.tmp", 31 "fileperms_variation3/fileperms*.tmp", 34 "/fileperms_variation3/fileperms_variation3.tmp".chr(0), 35 "/fileperms_variation3/fileperms_variation3.tmp\0" 53 unlink($dir_name."/fileperms_variation3.tmp"); [all …]
|
H A D | filegroup_variation3.phpt | 18 $file_handle = fopen($dir_name."/filegroup_variation3.tmp", "w"); 22 "/filegroup_variation3/filegroup_variation3.tmp", 25 "/filegroup_variation3/filegroup_variation3.tmp/", 28 "/filegroup_variation3//filegroup_variation3.tmp", 29 "//filegroup_variation3//filegroup_variation3.tmp", 30 "/filegroup_variation3/*.tmp", 31 "filegroup_variation3/filegroup*.tmp", 34 "/filegroup_variation3/filegroup_variation3.tmp".chr(0), 35 "/filegroup_variation3/filegroup_variation3.tmp\0" 53 unlink($dir_name."/filegroup_variation3.tmp"); [all …]
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_dump_debug_info_oo.phpt | 13 $tmp = NULL; 19 if (NULL !== ($tmp = @$mysqli->dump_debug_info($link))) 20 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 22 if (!is_bool($tmp = $mysqli->dump_debug_info())) 24 gettype($tmp), $tmp, 29 if (NULL !== ($tmp = $mysqli->dump_debug_info())) 31 gettype($tmp), $tmp,
|
H A D | mysqli_real_escape_string_sjis.phpt | 30 if ('?p??\\\\?p??' !== ($tmp = mysqli_real_escape_string($link, '?p??\\?p??'))) 31 printf("[004] Expecting \\\\, got %s\n", $tmp); 33 if ('?p??\"?p??' !== ($tmp = mysqli_real_escape_string($link, '?p??"?p??'))) 34 printf("[005] Expecting \", got %s\n", $tmp); 36 if ("?p??\'?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??'?p??"))) 37 printf("[006] Expecting ', got %s\n", $tmp); 39 if ("?p??\\n?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??\n?p??"))) 40 printf("[007] Expecting \\n, got %s\n", $tmp); 42 if ("?p??\\r?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??\r?p??"))) 43 printf("[008] Expecting \\r, got %s\n", $tmp); [all …]
|
H A D | mysqli_num_rows.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_num_rows())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_num_rows($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 if ($expected !== ($tmp = mysqli_num_rows($res))) 34 gettype($tmp), $tmp); 38 if ($test_free && (NULL !== ($tmp = mysqli_num_rows($res)))) 39 printf("[%03d] Expecting NULL, got %s/%s\n", $offset + 2, gettype($tmp), $tmp); 64 if (0 !== ($tmp = mysqli_num_rows($res))) [all …]
|
H A D | mysqli_connect_error.phpt | 13 $tmp = NULL; 17 if (!is_null($tmp = @mysqli_connect_error($link))) 18 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 24 if (NULL !== ($tmp = mysqli_connect_error())) 25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 33 if ('' === ($tmp = mysqli_connect_error())) 34 printf("[004] Expecting string/'', got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_connect_errno.phpt | 13 $tmp = NULL; 17 if (0 !== ($tmp = @mysqli_connect_errno($link))) 18 printf("[001] Expecting integer/0, got %s/%s\n", gettype($tmp), $tmp); 24 if (0 !== ($tmp = mysqli_connect_errno())) 25 printf("[003] Expecting integer/0, got %s/%s\n", gettype($tmp), $tmp); 34 if (0 === ($tmp = mysqli_connect_errno())) 35 printf("[005] Expecting integer/any non-zero, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_errno.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_errno())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_errno($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 if (($tmp = mysqli_errno($link)) == 0) 38 printf("[005] Expecting int/any non zero got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_commit_oo.phpt | 20 $tmp = NULL; 24 if (!is_null($tmp = @$mysqli->commit())) { 25 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 34 printf("[002] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 38 printf("[003] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 53 $tmp = $mysqli->commit(); 54 if ($tmp !== true) { 55 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 65 $tmp = $res->fetch_assoc(); 66 if (1 != $tmp['num']) { [all …]
|
H A D | mysqli_stmt_reset.phpt | 19 $tmp = NULL; 22 if (!is_null($tmp = @mysqli_stmt_reset())) 23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 if (!is_null($tmp = @mysqli_stmt_reset($link))) 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 33 if (NULL !== ($tmp = mysqli_stmt_reset($stmt))) 34 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 38 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 40 if (true !== ($tmp = mysqli_stmt_reset($stmt))) 41 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_fetch_field_direct_oo.phpt | 13 $tmp = NULL; 18 if (!is_null($tmp = @$res->fetch_field_direct())) 19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 if (!is_null($tmp = @$res->fetch_field_direct())) 32 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 34 if (!is_null($tmp = @$res->fetch_field_direct($link))) 35 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 if (!is_null($tmp = @$res->fetch_field_direct($link, $link))) 38 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 46 if (NULL !== ($tmp = $res->fetch_field_direct(0))) [all …]
|
H A D | mysqli_autocommit_oo.phpt | 29 printf("[002] Expecting boolean/any, got %s/%s\n", gettype($tmp), $tmp); 37 $tmp = $res->fetch_assoc(); 39 if ($tmp['auto_commit']) 43 printf("[006] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 49 if (!$tmp['auto_commit']) 68 if ((!$tmp = $res->fetch_assoc()) || (1 != $tmp['num'])) 85 if (!$tmp['auto_commit']) 89 printf("[019] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 104 if (0 != $tmp['num']) 117 if ((!$tmp = $res->fetch_assoc()) || (1 != $tmp['num'])) [all …]
|
H A D | mysqli_more_results.phpt | 19 $tmp = NULL; 22 if (!is_null($tmp = @mysqli_more_results())) 23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 if (!is_null($tmp = @mysqli_more_results($link))) 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 51 $tmp = ob_get_contents(); 56 … $tmp = trim(preg_replace('@Strict Standards: mysqli_next_result\(\).*on line \d+@ism', '', $tmp)); 58 print trim($tmp) . "\n"; 83 $tmp = ob_get_contents(); 88 … $tmp = trim(preg_replace('@Strict Standards: mysqli_next_result\(\).*on line \d+@ism', '', $tmp)); [all …]
|
H A D | mysqli_real_connect.phpt | 13 $tmp = NULL; 17 printf("[001a] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[001b] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[001c] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[001d] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 printf("[001e] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 32 printf("[001f] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[001g] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 153 var_dump($tmp); [all …]
|
H A D | mysqli_stmt_get_warnings.phpt | 29 $tmp = NULL; 32 if (!is_null($tmp = @mysqli_stmt_get_warnings())) 33 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 35 if (!is_null($tmp = @mysqli_stmt_get_warnings($link))) 36 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 43 if (NULL !== ($tmp = mysqli_stmt_get_warnings($stmt))) 44 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 49 if (false !== ($tmp = mysqli_stmt_get_warnings($stmt))) 50 printf("[006] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 56 printf("[008] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_fetch_field_direct.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_fetch_field_direct())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_fetch_field_direct($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 22 if (!is_null($tmp = @mysqli_fetch_field_direct($link, $link))) 23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 if (NULL !== ($tmp = mysqli_fetch_field_direct($res, 0))) 38 printf("Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
/PHP-5.5/Zend/ |
H A D | zend_variables.c | 128 zval *tmp; in _zval_copy_ctor_func() local 197 zval *tmp; in zval_copy_static_var() local 207 ALLOC_INIT_ZVAL(tmp); in zval_copy_static_var() 208 Z_SET_ISREF_P(tmp); in zval_copy_static_var() 217 tmp = *p; in zval_copy_static_var() 219 ALLOC_INIT_ZVAL(tmp); in zval_copy_static_var() 221 zval_copy_ctor(tmp); in zval_copy_static_var() 223 Z_UNSET_ISREF_P(tmp); in zval_copy_static_var() 225 tmp = *p; in zval_copy_static_var() 229 tmp = *p; in zval_copy_static_var() [all …]
|
/PHP-5.5/ext/pdo_mysql/tests/ |
H A D | pdo_mysql___construct.phpt | 78 $tmp = $e->getMessage(); 79 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005') && !stristr($tmp, '2002')) 92 $tmp = $e->getMessage(); 93 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005') && !stristr($tmp, '2002')) 109 $tmp = $e->getMessage(); 110 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005') && !stristr($tmp, '2002')) 124 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005')) 150 if (!stristr($tmp, '42000') && !stristr($tmp, '1049')) 168 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2002')) 188 (($tmp[0] >= 4 && $tmp[1] >= 1) || ($tmp[0] >= 5))) { [all …]
|
/PHP-5.5/ext/standard/tests/dir/ |
H A D | scandir_variation8.phpt | 122 string(9) "-10.5.tmp" 124 string(9) "-2345.tmp" 130 string(4) ".tmp" 132 string(7) "0.5.tmp" 134 string(5) "0.tmp" 138 string(5) "1.tmp" 140 string(8) "10.5.tmp" 142 string(9) "12345.tmp" 146 string(9) "Array.tmp" 148 string(15) "double_file.tmp" [all …]
|
/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_list_tables.phpt | 12 $tmp = NULL; 15 if (NULL !== ($tmp = @mysql_list_tables())) 16 printf("[001] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 18 if (NULL !== ($tmp = @mysql_list_tables('too', 'many', 'arguments'))) 19 printf("[002] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 21 if (false !== ($tmp = @mysql_list_tables(NULL))) 22 printf("[003] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp); 24 if (NULL !== ($tmp = @mysql_list_tables($db, NULL))) 25 printf("[004] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
|