/PHP-5.4/ext/standard/tests/file/ |
H A D | unlink_variation8.phpt | 113 -- removing unlinkVar8.tmp/file.tmp -- 119 -- removing ./unlinkVar8.tmp/file.tmp -- 125 -- removing unlinkVar8.tmp/../unlinkVar8.tmp/file.tmp -- 127 -- unlinking soft link unlinkVar8.tmp/../unlinkVar8.tmp/file.tmp -- 129 -- unlinking hard link unlinkVar8.tmp/../unlinkVar8.tmp/file.tmp -- 149 -- removing /%s/unlinkVar8.tmp/file.tmp -- 161 -- removing /%s/unlinkVar8.tmp/../unlinkVar8.tmp/file.tmp -- 163 -- unlinking soft link /%s/unlinkVar8.tmp/../unlinkVar8.tmp/file.tmp -- 165 -- unlinking hard link /%s/unlinkVar8.tmp/../unlinkVar8.tmp/file.tmp -- 176 -- removing unlinkVar8.tmp/file.tmp/ -- [all …]
|
H A D | bug39367.phpt | 12 unlink('/tmp/1link'); 13 unlink('/tmp/1tmp'); 14 unlink('/tmp/testfile1'); 16 file_put_contents('/tmp/testfile1', 'ok'); 17 symlink('/tmp/testfile1', '/tmp/1tmp'); 18 rename('/tmp/1tmp', '/tmp/1link'); 19 echo file_get_contents('/tmp/1link')."\n"; 21 unlink('/tmp/1link'); 26 unlink('/tmp/1link'); 27 unlink('/tmp/1tmp'); [all …]
|
H A D | touch_variation6-win32.phpt | 168 --- testing touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile --- 169 PASSED: touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile - created 180 --- testing %s\touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile --- 181 PASSED: %s\touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile - created 203 --- testing touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile --- 204 PASSED: touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile - touched 209 --- testing %s\touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile --- 210 PASSED: %s\touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile - touched 223 --- testing touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile --- 224 PASSED: touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile - touched [all …]
|
H A D | touch_variation5.phpt | 162 --- testing touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 163 PASSED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - created 174 --- testing /%s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 175 PASSED: /%s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - created 195 --- testing touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 196 PASSED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched 201 --- testing /%s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 202 PASSED: /%s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched 213 --- testing touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 214 PASSED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched [all …]
|
H A D | unlink_variation8-win32.phpt | 82 -- removing unlinkVar8.tmp/file.tmp -- 84 -- removing ./unlinkVar8.tmp/file.tmp -- 86 -- removing unlinkVar8.tmp/../unlinkVar8.tmp/file.tmp -- 88 -- removing unlinkVar8.tmp/../BADDIR/file.tmp -- 94 -- removing %s/unlinkVar8.tmp/file.tmp -- 96 -- removing %s/./unlinkVar8.tmp/file.tmp -- 98 -- removing %s/unlinkVar8.tmp/../unlinkVar8.tmp/file.tmp -- 103 -- removing unlinkVar8.tmp/file.tmp/ -- 106 -- removing %s/unlinkVar8.tmp/file.tmp/ -- 109 -- removing unlinkVar8.tmp//file.tmp -- [all …]
|
H A D | touch_variation5-win32.phpt | 162 --- testing touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 163 PASSED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - created 174 --- testing %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 175 PASSED: %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - created 195 --- testing touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 196 PASSED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched 201 --- testing %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 202 PASSED: %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched 213 --- testing touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 214 PASSED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched [all …]
|
H A D | unlink_variation9-win32.phpt | 84 -- removing unlinkVar9.tmp\file.tmp -- 86 -- removing .\unlinkVar9.tmp\file.tmp -- 88 -- removing unlinkVar9.tmp\..\unlinkVar9.tmp\file.tmp -- 96 -- removing %s\unlinkVar9.tmp\file.tmp -- 98 -- removing %s\.\unlinkVar9.tmp\file.tmp -- 100 -- removing %s\unlinkVar9.tmp\..\unlinkVar9.tmp\file.tmp -- 105 -- removing unlinkVar9.tmp\file.tmp\ -- 108 -- removing %s\unlinkVar9.tmp\file.tmp\ -- 111 -- removing unlinkVar9.tmp\\file.tmp -- 113 -- removing %s\\unlinkVar9.tmp\\file.tmp -- [all …]
|
/PHP-5.4/ext/mysqli/tests/ |
H A D | mysqli_real_escape_string_unicode.phpt | 13 $tmp = NULL; 16 if (NULL !== ($tmp = @mysqli_real_escape_string())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 printf("[005] Expecting бар\"фус, got %s\n", $tmp); 40 printf("[008] Expecting \\r, got %s\n", $tmp); 48 printf("[010] Expecting %s, got %s\n", $exp, $tmp, var_dump($exp, $tmp)); 58 printf("[013] Expecting 拉拉'西雅图, got %s\n", $tmp); 72 printf("[017] Expecting %s, got %s\n", $exp, $tmp, var_dump($exp, $tmp)); [all …]
|
H A D | mysqli_real_escape_string.phpt | 13 $tmp = NULL; 16 if (NULL !== ($tmp = @mysqli_real_escape_string())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[004] Expecting \\\\, got %s\n", $tmp); 31 printf("[005] Expecting \", got %s\n", $tmp); 34 printf("[006] Expecting ', got %s\n", $tmp); 37 printf("[007] Expecting \\n, got %s\n", $tmp); 48 printf("[010] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_affected_rows.phpt | 13 $tmp = NULL; 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); 43 printf("[010] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 48 printf("[011] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp); 54 printf("[013] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 60 printf("[015] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 67 printf("[017] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_change_user.phpt | 13 $tmp = NULL; 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[008] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[009] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 60 printf("[013] Expecting true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stat.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_stat())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_stat($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 24 if (!is_null($tmp = @mysqli_stat($link, "foo"))) 25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 if ((!is_string($tmp = mysqli_stat($link))) || ('' === $tmp)) 29 gettype($tmp), $tmp, mysqli_errno($link), mysql_error($link)); 33 if (!is_null($tmp = mysqli_stat($link))) [all …]
|
H A D | mysqli_stmt_affected_rows.phpt | 13 $tmp = NULL; 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[005] Expecting int/0, got %s/'%s'\n", gettype($tmp), $tmp); 56 printf("[008] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 68 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 78 printf("[012] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 88 printf("[014] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 98 printf("[016] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 124 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_close.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_close())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 $tmp = @mysqli_close(NULL); 27 if (NULL !== $tmp) 28 printf("[004] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 30 $tmp = mysqli_close($link); 31 if (true !== $tmp) 32 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_errno.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_stmt_errno())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 if (0 !== ($tmp = mysqli_stmt_errno($stmt))) 29 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[006] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[008] Expecting zero, got %s/%s\n", gettype($tmp), $tmp); 48 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 52 printf("[010] Execting int/any non zero, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_error.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_stmt_error())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 if ('' !== ($tmp = mysqli_stmt_error($stmt))) 29 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[006] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[008] Expecting empty string, got %s/%s\n", gettype($tmp), $tmp); 48 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 52 printf("[010] Execting string/any non empty, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_get_result.phpt | 21 $tmp = NULL; 25 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), var_export($tmp, 1)); 43 if ((NULL !== ($tmp = mysqli_stmt_get_result($stmt))) && (false !== $tmp)) 53 printf("[009] non-object, got %s/%s\n", gettype($tmp), var_export($tmp, 1)); 68 if ((NULL !== ($tmp = mysqli_stmt_get_result($stmt))) && (false !== $tmp)) 75 printf("[016] NULL, got %s/%s\n", gettype($tmp), var_export($tmp, 1)); 100 printf("[025] false, got %s/%s\n", gettype($tmp), var_export($tmp, 1)); 109 printf("[029] false, got %s/%s\n", gettype($tmp), var_export($tmp, 1)); [all …]
|
H A D | mysqli_stmt_free_result.phpt | 18 $tmp = NULL; 21 if (!is_null($tmp = @mysqli_stmt_free_result())) 22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 46 printf("[008] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 49 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 63 printf("[013] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 66 printf("[014] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_data_seek.phpt | 13 $tmp = NULL; 16 if (NULL !== ($tmp = @mysqli_data_seek())) 17 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[003] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 44 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 47 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 55 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_attr_get.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_stmt_attr_get())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_stmt_attr_get($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 22 if (!is_null($tmp = @mysqli_stmt_attr_get($link, $link))) 23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 44 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 49 gettype($tmp), $tmp, $k, $attr); [all …]
|
H A D | mysqli_stmt_field_count.phpt | 13 $tmp = NULL; 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[007] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 41 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 46 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 52 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 64 printf("[017] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_change_user_oo.phpt | 19 $tmp = NULL; 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 32 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 38 printf("[006] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 41 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 44 printf("[008] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 58 if (1 != $tmp['test_var']) 62 printf("[012] Expecting true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
/PHP-5.4/ext/mysql/tests/ |
H A D | mysql_affected_rows.phpt | 13 $tmp = NULL; 17 printf("[001] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 gettype($tmp), $tmp, mysql_errno($link), mysql_error($link)); 43 printf("[010] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 48 printf("[011] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp); 54 printf("[013] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 60 printf("[015] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 67 printf("[017] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysql_close.phpt | 12 $tmp = NULL; 15 if (false !== ($tmp = @mysql_close())) 16 printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 $tmp = @mysql_close(NULL); 26 if (null !== $tmp) 27 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 $tmp = mysql_close($link); 30 if (true !== $tmp) 31 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysql_info.phpt | 13 printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 16 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 28 if (!is_string($tmp = mysql_info($link)) || ('' == $tmp)) 29 printf("[006] Expecting string/any_non_empty, got %s/%s\n", gettype($tmp), $tmp); 34 if (!is_string($tmp = mysql_info($link)) || ('' == $tmp)) 35 printf("[008] Expecting string/any_non_empty, got %s/%s\n", gettype($tmp), $tmp); 40 if (!is_string($tmp = mysql_info($link)) || ('' == $tmp)) 46 if (!is_string($tmp = mysql_info($link)) || ('' == $tmp)) 57 if ($def_tmp !== $tmp) { [all …]
|