/PHP-5.4/ext/standard/tests/general_functions/ |
H A D | is_resource_basic.phpt | 50 echo "\nResource type..var_dump after file open returns\n"; 52 echo "Resource type..after file open is_resource() returns"; 60 echo "\nResource type..var_dump after file close returns\n"; 62 echo "Resource type..after file close is_resource() returns"; 85 Resource type..var_dump after file open returns 87 Resource type..after file open is_resource() returns TRUE 89 Resource type..var_dump after file close returns 91 Resource type..after file close is_resource() returns FALSE
|
/PHP-5.4/ext/zip/tests/ |
H A D | oo_addemptydir.phpt | 13 $file = $dirname . '__tmp_oo_addfile.zip'; 15 copy($dirname . 'test.zip', $file); 18 if (!$zip->open($file)) { 29 @unlink($file);
|
/PHP-5.4/ext/zip/lib/ |
H A D | zip_free.c | 72 if (za->file[i]->error.zip_err == ZIP_ER_OK) { in _zip_free() 73 _zip_error_set(&za->file[i]->error, ZIP_ER_ZIPCLOSED, 0); in _zip_free() 74 za->file[i]->za = NULL; in _zip_free() 78 free(za->file); in _zip_free()
|
/PHP-5.4/ext/gd/tests/ |
H A D | imagewbmp.phpt | 9 $file = dirname(__FILE__) . '/im.wbmp'; 14 imagewbmp($im, $file); 16 $im2 = imagecreatefromwbmp($file); 27 unlink($file);
|
/PHP-5.4/ext/standard/tests/url/ |
H A D | parse_url_basic_005.phpt | 53 --> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : NULL 77 --> zlib:/path/to/my/file/file.txt : NULL 83 --> file:///path/to/file : NULL 84 --> file://path/to/file : NULL 85 --> file:/path/to/file : NULL 102 --> file:///: : NULL 103 --> file:///a:/ : NULL 104 --> file:///ab:/ : NULL 105 --> file:///a:/ : NULL 106 --> file:///@:/ : NULL [all …]
|
H A D | parse_url_basic_006.phpt | 53 --> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : NULL 77 --> zlib:/path/to/my/file/file.txt : NULL 83 --> file:///path/to/file : NULL 84 --> file://path/to/file : NULL 85 --> file:/path/to/file : NULL 102 --> file:///: : NULL 103 --> file:///a:/ : NULL 104 --> file:///ab:/ : NULL 105 --> file:///a:/ : NULL 106 --> file:///@:/ : NULL [all …]
|
H A D | parse_url_basic_008.phpt | 53 --> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : NULL 77 --> zlib:/path/to/my/file/file.txt : NULL 83 --> file:///path/to/file : NULL 84 --> file://path/to/file : NULL 85 --> file:/path/to/file : NULL 102 --> file:///: : NULL 103 --> file:///a:/ : NULL 104 --> file:///ab:/ : NULL 105 --> file:///a:/ : NULL 106 --> file:///@:/ : NULL [all …]
|
H A D | parse_url_basic_009.phpt | 53 --> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : NULL 77 --> zlib:/path/to/my/file/file.txt : NULL 83 --> file:///path/to/file : NULL 84 --> file://path/to/file : NULL 85 --> file:/path/to/file : NULL 102 --> file:///: : NULL 103 --> file:///a:/ : NULL 104 --> file:///ab:/ : NULL 105 --> file:///a:/ : NULL 106 --> file:///@:/ : NULL [all …]
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | stat_basic-win32.phpt | 13 Description: Gives information about a file 17 require("$file_path/file.inc"); 21 /* creating temp directory and file */ 31 // creating file 35 // stat of the file created 39 // now new stat of the dir after file is created 50 // New stat values taken after creation of file 54 // creating file, also dump the value of stats 56 echo "-- comparing difference in dir stats before and after creating file in it --\n"; 77 *** Testing stat(): comparing stats (recorded before and after file creation) *** [all …]
|
H A D | file_get_contents_file_put_contents_error.phpt | 2 Test file-get_contents() and file_put_contents() functions : error conditions 7 * Description: Reads entire file into a string 11 * Description: Write a string to a file 18 echo "\n-- Testing with Non-existing file --\n"; 19 print( file_get_contents("/no/such/file/or/dir") ); 32 file_put_contents($file_path."/file_put_contents1.tmp", "Garbage data in the file"); 49 -- Testing with Non-existing file -- 51 Warning: file_get_contents(/no/such/file/or/dir): failed to open stream: No such file or directory …
|
H A D | file_get_contents_variation8.phpt | 14 * Description: Read the entire file into a string 15 * Source code: ext/standard/file.c 33 "/no/such/file/dir", 49 Warning: file_get_contents(-1): failed to open stream: No such file or directory in %s on line %d 53 Warning: file_get_contents(1): failed to open stream: No such file or directory in %s on line %d 69 Warning: file_get_contents( ): failed to open stream: No such file or directory in %s on line %d 81 Warning: file_get_contents(/no/such/file/dir): failed to open stream: No such file or directory in … 85 Warning: file_get_contents(php/php): failed to open stream: No such file or directory in %s on line…
|
H A D | fflush_basic.phpt | 6 Description: Flushes the output to a file 9 echo "*** Testing fflush(): writing to a file and reading the contents ***\n"; 19 // opening a file 22 exit("Error:failed to open file $filename"); 28 // writing data to the file 48 *** Testing fflush(): writing to a file and reading the contents ***
|
H A D | rename_variation4.phpt | 14 require dirname(__FILE__).'/file.inc'; 16 /* Renaming a file, link and directory to numeric name */ 17 echo "\n*** Testing rename() by renaming a file, link and directory to numeric name ***\n"; 20 // renaming existing file to numeric name 25 // remove the file 44 *** Testing rename() by renaming a file, link and directory to numeric name ***
|
H A D | readfile_variation1.phpt | 6 Description: Outputs a file 11 // include file.inc 12 require("file.inc"); 20 // temp file name used here 23 // create file
|
H A D | file.inc | 2 /* Header file for common file test functions 23 $filename = Name of the file 154 Description: changes file permission for given file(s). 205 unqiue numeric value to make the file name unique, default = file 215 "empty" = empty file 229 created => total file created 302 // change all file's permissions 334 text = fill file with regular text 346 created => total file created 409 // call fill_file() to fill the file [all …]
|
H A D | rename_variation.phpt | 21 /* Testing a file trailing slash */ 24 /* Testing file with double slashes */ 29 /* loop through each $file and rename it to rename_variation2.tmp */ 36 // ensure that file got renamed to new name 41 // unlink the file 45 // clean the temp dir and file 63 Warning: unlink(%s): No such file or directory in %s on line %d
|
H A D | is_executable_variation1.phpt | 15 /* test is_executable() with file having different filepath notation */ 17 require dirname(__FILE__).'/file.inc'; 23 // create a new temporary file 32 /* Testing a file with trailing slash */ 35 /* Testing file with double slashes */ 51 is an executable file */ 52 foreach($files_arr as $file) { 54 var_dump( is_executable($file) );
|
H A D | filegroup_variation3.phpt | 8 * Description: Returns the group ID of the file, or FALSE in case of an error. 11 /* Passing file names with different notations, using slashes, wild-card chars */ 15 echo "*** Testing filegroup() with different notations of file names ***\n"; 24 /* Testing a file trailing slash */ 27 /* Testing file with double slashes */ 40 foreach($files_arr as $file) { 42 var_dump( filegroup( $file_path."/".$file ) ); 57 *** Testing filegroup() with different notations of file names ***
|
H A D | fileinode_variation3.phpt | 9 Description: Returns the inode number of the file, or FALSE in case of an error. 12 /* Passing file names with different notations, using slashes, wild-card chars */ 16 echo "*** Testing fileinode() with different notations of file names ***\n"; 25 /* Testing a file trailing slash */ 28 /* Testing file with double slashes */ 41 foreach($files_arr as $file) { 43 var_dump( fileinode( $file_path."/".$file ) ); 58 *** Testing fileinode() with different notations of file names ***
|
H A D | fileperms_variation3.phpt | 8 * Description: Returns the group ID of the file, or FALSE in case of an error. 11 /* Passing file names with different notations, using slashes, wild-card chars */ 15 echo "*** Testing fileperms() with different notations of file names ***\n"; 24 /* Testing a file trailing slash */ 27 /* Testing file with double slashes */ 40 foreach($files_arr as $file) { 42 var_dump( fileperms( $file_path."/".$file ) ); 57 *** Testing fileperms() with different notations of file names ***
|
/PHP-5.4/ext/mbstring/oniguruma/ |
H A D | config.h.in | 18 /* Define to 1 if you have the <dlfcn.h> header file. */ 21 /* Define to 1 if you have the <inttypes.h> header file. */ 24 /* Define to 1 if you have the <memory.h> header file. */ 33 /* Define to 1 if you have the <stdint.h> header file. */ 36 /* Define to 1 if you have the <stdlib.h> header file. */ 39 /* Define to 1 if you have the <strings.h> header file. */ 42 /* Define to 1 if you have the <string.h> header file. */ 45 /* Define to 1 if you have the <sys/stat.h> header file. */ 48 /* Define to 1 if you have the <sys/times.h> header file. */ 51 /* Define to 1 if you have the <sys/time.h> header file. */ [all …]
|
/PHP-5.4/ext/curl/tests/ |
H A D | bug48207.phpt | 2 Test curl_setopt() CURLOPT_FILE readonly file handle 11 * Description : Adds a file which stores the received data from curl_exec(); 25 // Create a temporary file for the test 27 $url = 'file://'. $tempname; 29 // add the test data to the file 45 Warning: curl_setopt(): the provided file handle is not writable in %s on line %d
|
/PHP-5.4/ext/phar/tests/files/ |
H A D | phar_test.inc | 56 $file = (binary)$file; 57 $file .= pack('V', strlen($manifest)) . $manifest; 61 $file .= (binary)$cont; 64 file_put_contents($fname, $file); 68 fwrite($fp, $file); 74 fwrite($fp, $file);
|
/PHP-5.4/ext/phar/tests/ |
H A D | 016.phpt | 2 Phar::mapPhar invalid file (gzipped file length is too short) 12 $file = b"<?php __HALT_COMPILER(); ?>"; 13 // file length is too short 31 …phar error: internal corruption of phar "%s" (actual filesize mismatch on file "a") in %s on line … 34 …phar error: internal corruption of phar "%s" (actual filesize mismatch on file "b") in %s on line … 38 …phar error: internal corruption of phar "%s" (actual filesize mismatch on file "d") in %s on line …
|
/PHP-5.4/ext/phar/tests/cache_list/files/ |
H A D | phar_test.inc | 56 $file = (binary)$file; 57 $file .= pack('V', strlen($manifest)) . $manifest; 61 $file .= (binary)$cont; 64 file_put_contents($fname, $file); 68 fwrite($fp, $file); 74 fwrite($fp, $file);
|