/PHP-5.5/ext/standard/tests/file/ |
H A D | fileinode_variation3.phpt | 19 $file_handle = fopen($dir_name."/fileinode_variation3.tmp", "w"); 23 "/fileinode_variation3/fileinode_variation3.tmp", 26 "/fileinode_variation3/fileinode_variation3.tmp/", 29 "/fileinode_variation3//fileinode_variation3.tmp", 30 "//fileinode_variation3//fileinode_variation3.tmp", 31 "/fileinode_variation3/*.tmp", 32 "fileinode_variation3/fileinode*.tmp", 35 "/fileinode_variation3/fileinode_variation3.tmp".chr(0), 36 "/fileinode_variation3/fileinode_variation3.tmp\0" 54 unlink($dir_name."/fileinode_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 | 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/");
|
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 …]
|
/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_stat.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysql_stat($link))) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 21 if (!is_null($tmp = @mysql_stat($link, "foo"))) 22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 41 if (false !== ($tmp = mysql_stat($link))) 42 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysql_real_escape_string.phpt | 12 $tmp = NULL; 15 if (NULL !== ($tmp = @mysql_real_escape_string())) 16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 if (NULL !== ($tmp = @mysql_real_escape_string('foo', $link, $link))) 21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 var_dump($tmp = mysql_real_escape_string("foo" . chr(0) . "bar", $link)); 31 assert($tmp === mysql_real_escape_string("foo" . chr(0) . "bar"));
|
H A D | mysql_create_db.phpt | 14 $tmp = null; 16 if (false !== ($tmp = mysql_create_db())) 17 printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 19 if (false !== ($tmp = mysql_create_db($link, $link, $link))) 20 printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 32 if (true !== ($tmp = mysql_create_db("mysqlcreatedb", $link))) 33 …printf("[006] Expecting boolean/true, got %s/%s, [%d] %s\n", gettype($tmp), $tmp, mysql_errno($lin… 35 if (false !== ($tmp = mysql_create_db("mysqlcreatedb", $link))) 36 …printf("[007] Expecting boolean/false, got %s/%s, [%d] %s\n", gettype($tmp), $tmp, mysql_errno($li…
|
/PHP-5.5/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.5/ext/mysqli/tests/ |
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_fetch_field_oo.phpt | 13 $tmp = NULL; 19 if (!is_null($tmp = @$res->fetch_field())) 20 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 if (!is_null($tmp = @$res->fetch_field($link))) 28 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 43 $tmp = $res->fetch_field(); 44 var_dump($tmp); 53 if ($tmp->db != $db) { 55 $db, $tmp->db); 62 if (NULL !== ($tmp = $res->fetch_field())) [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_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 …]
|
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 …]
|
/PHP-5.5/ext/zlib/ |
H A D | zlib_filter.c | 331 zval tmp; in php_zlib_filter_create() local 334 tmp = **tmpzval; in php_zlib_filter_create() 335 zval_copy_ctor(&tmp); in php_zlib_filter_create() 337 if (Z_LVAL(tmp) < -MAX_WBITS || Z_LVAL(tmp) > MAX_WBITS + 32) { in php_zlib_filter_create() 357 zval **tmpzval, tmp; in php_zlib_filter_create() local 366 tmp = **tmpzval; in php_zlib_filter_create() 371 if (Z_LVAL(tmp) < 1 || Z_LVAL(tmp) > MAX_MEM_LEVEL) { in php_zlib_filter_create() 379 tmp = **tmpzval; in php_zlib_filter_create() 384 if (Z_LVAL(tmp) < -MAX_WBITS || Z_LVAL(tmp) > MAX_WBITS + 16) { in php_zlib_filter_create() 392 tmp = **tmpzval; in php_zlib_filter_create() [all …]
|
/PHP-5.5/ext/soap/ |
H A D | soap.c | 150 zval **tmp; \ 994 zval **tmp; in soap_create_typemap() local 2513 (Z_TYPE_PP(tmp) == IS_BOOL || Z_TYPE_PP(tmp) == IS_LONG) && Z_LVAL_PP(tmp) == 0) { 2636 zval **tmp; local 2840 zval **tmp; local 2867 zval **tmp; local 3030 zval **tmp; local 3049 zval **tmp; local 3068 zval **tmp; local 3087 zval **tmp; local [all …]
|
/PHP-5.5/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.5/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 …]
|