/PHP-5.4/ext/standard/tests/file/ |
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 | fopen_variation14.phpt | 23 $file = "fopen_variation14.tmp"; 96 --- READ: file://fopen14.tmpDir/fopen_variation14.tmp --- 101 --- WRITE: file://fopen14.tmpDir/fopen_variation14.tmp --- 106 --- READ: file://./fopen14.tmpDir/fopen_variation14.tmp --- 111 --- WRITE: file://./fopen14.tmpDir/fopen_variation14.tmp --- 116 --- READ: file:///%s/fopen14.tmpDir/fopen_variation14.tmp --- 118 --- WRITE: file:///%s/fopen14.tmpDir/fopen_variation14.tmp --- 120 --- READ: file://../fopen14.tmpDir/fopen_variation14.tmp --- 125 --- WRITE: file://../fopen14.tmpDir/fopen_variation14.tmp --- 130 --- READ: file:///%s/fopen14.tmpDir/fopen_variation14.tmp --- [all …]
|
H A D | fopen_variation15.phpt | 24 $file = "fopen_variation15.tmp"; 100 --- READ: file://fopen15.tmpDir/fopen_variation15.tmp --- 105 --- WRITE: file://fopen15.tmpDir/fopen_variation15.tmp --- 110 --- READ: file://./fopen15.tmpDir/fopen_variation15.tmp --- 115 --- WRITE: file://./fopen15.tmpDir/fopen_variation15.tmp --- 120 --- READ: file:///%s/fopen15.tmpDir/fopen_variation15.tmp --- 122 --- WRITE: file:///%s/fopen15.tmpDir/fopen_variation15.tmp --- 124 --- READ: file://../fopen15.tmpDir/fopen_variation15.tmp --- 129 --- WRITE: file://../fopen15.tmpDir/fopen_variation15.tmp --- 134 --- READ: file:///%s/fopen15.tmpDir/fopen_variation15.tmp --- [all …]
|
H A D | rename_variation-win32.phpt | 24 "$file_path/rename_variation/rename_variation.tmp", 27 "$file_path/rename_variation/rename_variation.tmp/", 30 "$file_path/rename_variation//rename_variation.tmp", 31 "$file_path//rename_variation//rename_variation.tmp", 36 /* loop through each $file and rename it to rename_variation2.tmp */ 39 $fp = fopen("$file_path/rename_variation/rename_variation.tmp", "w"); 41 $dest_filename = "$file_path/rename_variation2.tmp"; 60 unlink($file_path."/rename_variation_link.tmp"); 61 unlink($file_path."/rename_variation.tmp"); 72 Warning: rename(%s/rename_variation/rename_variation.tmp/,%s/rename_variation2.tmp): The filename, … [all …]
|
H A D | fileowner_variation3.phpt | 19 $file_handle = fopen($dir_name."/fileowner_variation3.tmp", "w"); 23 "/fileowner_variation3/fileowner_variation3.tmp", 26 "/fileowner_variation3/fileowner_variation3.tmp/", 29 "/fileowner_variation3//fileowner_variation3.tmp", 30 "//fileowner_variation3//fileowner_variation3.tmp", 31 "/fileowner_variation3/*.tmp", 32 "fileowner_variation3/fileowner*.tmp", 35 "/fileowner_variation3/fileowner_variation3.tmp".chr(0), 36 "/fileowner_variation3/fileowner_variation3.tmp\0" 54 unlink($dir_name."/fileowner_variation3.tmp"); [all …]
|
H A D | is_file_variation1.phpt | 16 $filename = $file_path."/is_file_variation1.tmp"; 24 $file_handle = fopen( $file_path."/is_file_variation1.tmp", "r"); 27 var_dump( is_file($file_path."/is_file_variation1.tmp") ); // expected true 29 unlink($file_path."/is_file_variation1.tmp"); 33 fclose( fopen($file_path."/is_file_variation1.tmp", "w") ); 34 var_dump( is_file($file_path."/is_file_variation1.tmp") ); //expected true 36 unlink($file_path."/is_file_variation1.tmp"); 39 touch($file_path."/is_file_variation1.tmp"); 40 var_dump( is_file($file_path."/is_file_variation1.tmp") ); // expected true 42 unlink($file_path."/is_file_variation1.tmp");
|
H A D | is_dir_variation2.phpt | 39 $filename = $file_path."/is_dir_variation2.tmp"; 45 symlink($file_path."/is_dir_variation2.tmp", $file_path."/is_dir_variation2_symlink.tmp"); 46 var_dump( is_dir($file_path."/is_dir_variation2_symlink.tmp") ); 50 link($file_path."/is_dir_variation2.tmp", $file_path."/is_dir_variation2_link.tmp"); 51 var_dump( is_dir($file_path."/is_dir_variation2_link.tmp") ); 65 if(file_exists($file_path."/is_dir_variation2_symlink.tmp")) { 66 unlink($file_path."/is_dir_variation2_symlink.tmp"); 68 if(file_exists($file_path."/is_dir_variation2_link.tmp")) { 69 unlink($file_path."/is_dir_variation2_link.tmp"); 71 if(file_exists($file_path."/is_dir_variation2.tmp")) { [all …]
|
H A D | mkdir-006.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/");
|
/PHP-5.4/ext/mysqli/tests/ |
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);
|
H A D | mysqli_pconn_conn_multiple.phpt | 27 printf("[003] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 30 printf("[004] Expecting int/any got %s/%s\n", gettype($tmp), $tmp); 52 printf("[009] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 55 printf("[010] Expecting int/any got %s/%s\n", gettype($tmp), $tmp); 70 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 77 printf("[015] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 89 printf("[018] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 92 printf("[019] Expecting int/any got %s/%s\n", gettype($tmp), $tmp); 117 printf("[025] Expecting int/any got %s/%s\n", gettype($tmp), $tmp); 132 printf("[028] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_set_local_infile_default.phpt | 29 $link = $tmp = null; 30 if (!is_null($tmp = @mysqli_set_local_infile_default())) 31 printf("[001] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 33 if (!is_null($tmp = @mysqli_set_local_infile_default($link))) 34 printf("[002] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 37 if (!is_null($tmp = @mysqli_set_local_infile_default($link))) 38 printf("[002a] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 42 if (!is_null($tmp = @mysqli_set_local_infile_default($link, 'foo'))) 43 printf("[003] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 115 if (!is_null($tmp = @mysqli_set_local_infile_default($link))) [all …]
|
H A D | mysqli_insert_id.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_insert_id())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 24 if (0 !== ($tmp = mysqli_insert_id($link))) 25 printf("[003] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 30 if (0 !== ($tmp = mysqli_insert_id($link))) 31 printf("[005] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[007] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 119 printf("[021] Expecting int/1000, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_report_wo_ps.phpt | 13 $tmp = NULL; 16 if (NULL !== ($tmp = @mysqli_report())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (true !== ($tmp = mysqli_report(-1))) 20 printf("[002] Expecting boolean/true even for invalid flags, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[003] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[004] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 29 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 31 if (true !== ($tmp = mysqli_report(MYSQLI_REPORT_ALL))) 32 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_real_escape_string_gbk.phpt | 47 if ('�İ汾\\\\�İ汾' !== ($tmp = mysqli_real_escape_string($link, '�İ汾\\�İ汾'))) 48 printf("[004] Expecting \\\\, got %s\n", $tmp); 50 if ('�İ汾\"�İ汾' !== ($tmp = mysqli_real_escape_string($link, '�İ汾"�İ汾'))) 51 printf("[005] Expecting \", got %s\n", $tmp); 53 if ("�İ汾\'�İ汾" !== ($tmp = mysqli_real_escape_string($link, "�İ汾'�İ汾"))) 54 printf("[006] Expecting ', got %s\n", $tmp); 56 if ("�İ汾\\n�İ汾" !== ($tmp = mysqli_real_escape_string($link, "�İ汾\n�İ汾"))) 57 printf("[007] Expecting \\n, got %s\n", $tmp); 59 if ("�İ汾\\r�İ汾" !== ($tmp = mysqli_real_escape_string($link, "�İ汾\r�İ汾"))) 60 printf("[008] Expecting \\r, got %s\n", $tmp); [all …]
|
H A D | mysqli_real_escape_string_eucjpms.phpt | 45 …if ('�����Ȥ߹�碌�Ǥ�\\\\�����Ȥ߹�碌�Ǥ�' !== ($tmp = mysqli_real_escape_string($link, '�����Ȥ߹�碌�Ǥ�\\���… 46 printf("[004] Expecting \\\\, got %s\n", $tmp); 48 …if ('�����Ȥ߹�碌�Ǥ�\"�����Ȥ߹�碌�Ǥ�' !== ($tmp = mysqli_real_escape_string($link, '�����Ȥ߹�碌�Ǥ�"�����Ȥ… 49 printf("[005] Expecting \", got %s\n", $tmp); 51 …if ("�����Ȥ߹�碌�Ǥ�\'�����Ȥ߹�碌�Ǥ�" !== ($tmp = mysqli_real_escape_string($link, "�����Ȥ߹�碌�Ǥ�'�����Ȥ… 52 printf("[006] Expecting ', got %s\n", $tmp); 54 …if ("�����Ȥ߹�碌�Ǥ�\\n�����Ȥ߹�碌�Ǥ�" !== ($tmp = mysqli_real_escape_string($link, "�����Ȥ߹�碌�Ǥ�\n����… 55 printf("[007] Expecting \\n, got %s\n", $tmp); 57 …if ("�����Ȥ߹�碌�Ǥ�\\r�����Ȥ߹�碌�Ǥ�" !== ($tmp = mysqli_real_escape_string($link, "�����Ȥ߹�碌�Ǥ�\r����… 58 printf("[008] Expecting \\r, got %s\n", $tmp); [all …]
|
H A D | mysqli_real_escape_string_euckr.phpt | 44 if ('�Ǵ뼺\\\\�Ǵ뼺' !== ($tmp = mysqli_real_escape_string($link, '�Ǵ뼺\\�Ǵ뼺'))) 45 printf("[004] Expecting \\\\, got %s\n", $tmp); 47 if ('�Ǵ뼺\"�Ǵ뼺' !== ($tmp = mysqli_real_escape_string($link, '�Ǵ뼺"�Ǵ뼺'))) 48 printf("[005] Expecting \", got %s\n", $tmp); 50 if ("�Ǵ뼺\'�Ǵ뼺" !== ($tmp = mysqli_real_escape_string($link, "�Ǵ뼺'�Ǵ뼺"))) 51 printf("[006] Expecting ', got %s\n", $tmp); 53 if ("�Ǵ뼺\\n�Ǵ뼺" !== ($tmp = mysqli_real_escape_string($link, "�Ǵ뼺\n�Ǵ뼺"))) 54 printf("[007] Expecting \\n, got %s\n", $tmp); 56 if ("�Ǵ뼺\\r�Ǵ뼺" !== ($tmp = mysqli_real_escape_string($link, "�Ǵ뼺\r�Ǵ뼺"))) 57 printf("[008] Expecting \\r, got %s\n", $tmp); [all …]
|
H A D | mysqli_real_escape_string_gb2312.phpt | 45 if ('����\\\\����' !== ($tmp = mysqli_real_escape_string($link, '����\\����'))) 46 printf("[004] Expecting \\\\, got %s\n", $tmp); 48 if ('����\"����' !== ($tmp = mysqli_real_escape_string($link, '����"����'))) 49 printf("[005] Expecting \", got %s\n", $tmp); 51 if ("����\'����" !== ($tmp = mysqli_real_escape_string($link, "����'����"))) 52 printf("[006] Expecting ', got %s\n", $tmp); 54 if ("����\\n����" !== ($tmp = mysqli_real_escape_string($link, "����\n����"))) 55 printf("[007] Expecting \\n, got %s\n", $tmp); 57 if ("����\\r����" !== ($tmp = mysqli_real_escape_string($link, "����\r����"))) 58 printf("[008] Expecting \\r, got %s\n", $tmp); [all …]
|
/PHP-5.4/ext/mysqlnd/ |
H A D | mysqlnd_bt.c | 44 zval tmp, copy; \ 50 zval_dtor(&tmp); \ 76 TRACE_APPEND_STRL(Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp)); \ 188 zval tmp; in mysqlnd_build_trace_args() local 199 TRACE_APPEND_STRL(Z_STRVAL(tmp), Z_STRLEN(tmp)); in mysqlnd_build_trace_args() 200 zval_dtor(&tmp); in mysqlnd_build_trace_args() 223 zval **file, **tmp; in mysqlnd_build_trace_string() local 242 line = Z_LVAL_PP(tmp); in mysqlnd_build_trace_string() 292 TRACE_APPEND_STRL(Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp)); \ 400 zval **file, **tmp; in mysqlnd_build_trace_string() local [all …]
|
/PHP-5.4/ext/standard/tests/dir/ |
H A D | scandir_variation4.phpt | 79 string(14) "level_one1.tmp" 81 string(14) "level_one2.tmp" 94 string(14) "level_two1.tmp" 96 string(14) "level_two2.tmp" 107 string(14) "level_one1.tmp" 109 string(14) "level_one2.tmp" 122 string(14) "level_two1.tmp" 124 string(14) "level_two2.tmp" 135 string(14) "level_one1.tmp" 137 string(14) "level_one2.tmp" [all …]
|
H A D | readdir_variation4.phpt | 146 string(9) "-10.5.tmp" 148 string(9) "-2345.tmp" 154 string(4) ".tmp" 156 string(7) "0.5.tmp" 158 string(5) "0.tmp" 162 string(5) "1.tmp" 164 string(8) "10.5.tmp" 166 string(9) "12345.tmp" 170 string(9) "Array.tmp" 172 string(15) "double_file.tmp" [all …]
|
/PHP-5.4/ext/zlib/ |
H A D | zlib_filter.c | 339 zval tmp; in php_zlib_filter_create() local 342 tmp = **tmpzval; in php_zlib_filter_create() 343 zval_copy_ctor(&tmp); in php_zlib_filter_create() 345 if (Z_LVAL(tmp) < -MAX_WBITS || Z_LVAL(tmp) > MAX_WBITS + 32) { in php_zlib_filter_create() 365 zval **tmpzval, tmp; in php_zlib_filter_create() local 374 tmp = **tmpzval; in php_zlib_filter_create() 379 if (Z_LVAL(tmp) < 1 || Z_LVAL(tmp) > MAX_MEM_LEVEL) { in php_zlib_filter_create() 387 tmp = **tmpzval; in php_zlib_filter_create() 392 if (Z_LVAL(tmp) < -MAX_WBITS || Z_LVAL(tmp) > MAX_WBITS + 16) { in php_zlib_filter_create() 400 tmp = **tmpzval; in php_zlib_filter_create() [all …]
|
/PHP-5.4/ext/soap/ |
H A D | soap.c | 150 zval **tmp; \ 988 zval **tmp; in soap_create_typemap() local 2508 (Z_TYPE_PP(tmp) == IS_BOOL || Z_TYPE_PP(tmp) == IS_LONG) && Z_LVAL_PP(tmp) == 0) { 2626 zval **tmp; local 2820 zval **tmp; local 2847 zval **tmp; local 3011 zval **tmp; local 3030 zval **tmp; local 3049 zval **tmp; local 3068 zval **tmp; local [all …]
|
/PHP-5.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_statement_class.phpt | 19 if (false !== ($tmp = @$db->setAttribute(PDO::ATTR_STATEMENT_CLASS))) 20 printf("[001] Expecting boolean/false got %s\n", var_export($tmp, true)); 22 if (false !== ($tmp = @$db->setAttribute(PDO::ATTR_STATEMENT_CLASS, 'foo'))) 23 printf("[002] Expecting boolean/false got %s\n", var_export($tmp, true)); 26 printf("[003] Expecting boolean/false got %s\n", var_export($tmp, true)); 30 printf("[004] Expecting boolean/false got %s\n", var_export($tmp, true)); 39 printf("[005] Expecting boolean/false got %s\n", var_export($tmp, true)); 49 printf("[006] Expecting boolean/false got %s\n", var_export($tmp, true)); 59 printf("[007] Expecting boolean/true got %s\n", var_export($tmp, true)); 69 printf("[008] Expecting boolean/true got %s\n", var_export($tmp, true)); [all …]
|
/PHP-5.4/ext/ctype/ |
H A D | ctype.c | 146 zval *c, tmp; \ 155 tmp = *c; \ 156 zval_copy_ctor(&tmp); \ 157 convert_to_string(&tmp); \ 159 tmp = *c; \ 161 if (Z_TYPE(tmp) == IS_STRING) { \ 162 char *p = Z_STRVAL(tmp), *e = Z_STRVAL(tmp) + Z_STRLEN(tmp); \ 164 if (Z_TYPE_P(c) == IS_LONG) zval_dtor(&tmp); \ 169 if (Z_TYPE_P(c) == IS_LONG) zval_dtor(&tmp); \ 173 if (Z_TYPE_P(c) == IS_LONG) zval_dtor(&tmp); \
|
/PHP-5.4/ext/mysql/tests/ |
H A D | mysql_num_rows.phpt | 12 $tmp = NULL; 15 if (!is_null($tmp = @mysql_num_rows())) 16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 18 if (NULL !== ($tmp = @mysql_num_rows($link))) 19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 30 if ($expected !== ($tmp = mysql_num_rows($res))) 33 gettype($tmp), $tmp); 37 if ($test_free && (false !== ($tmp = mysql_num_rows($res)))) 38 printf("[%03d] Expecting boolean/false, got %s/%s\n", $offset + 2, gettype($tmp), $tmp);
|