/PHP-5.5/ext/standard/tests/file/ |
H A D | filetype_variation.phpt | 16 Description: Returns the type of the file. Possible values are fifo, char, 17 dir, block, link, file, and unknown. 59 /* Checking with block in file */ 67 file 68 file 70 file
|
H A D | fpassthru_variation.phpt | 7 Description: Reads to EOF on the given file pointer from the current position 33 /* Negative offsets, the file pointer should be at the end of file 60 echo "\n--- Testing with binary mode file ---\n"; 61 /* Opening the file in binary read mode */ 111 --- Testing with binary mode file ---
|
H A D | move_uploaded_file_basic.phpt | 36 echo "Original name of uploaded file\n"; 40 echo "Non-uploaded source file\n"; 45 echo "Valid move to existing file\n"; 63 Original name of uploaded file 65 Non-uploaded source file 67 Valid move to existing file
|
H A D | fgetcsv.phpt | 28 $file = dirname(__FILE__) . 'fgetcsv.csv'; 29 @unlink($file); 31 $fp = fopen($file, "w"); 35 var_dump(fgetcsv(fopen($file, "r"), 1024)); 37 @unlink($file);
|
H A D | symlink_link_linkinfo_is_link_error2.phpt | 18 Description: Tells whether the given file is a symbolic link. 29 $fp = fopen($filename, "w"); // create temp file 63 var_dump( is_link($filename) ); // file given to is_link 80 Warning: link(): No such file or directory in %s on line %d 83 Warning: link(): No such file or directory in %s on line %d 86 Warning: link(): No such file or directory in %s on line %d 89 Warning: link(): No such file or directory in %s on line %d 92 Warning: link(): No such file or directory in %s on line %d 95 Warning: link(): No such file or directory in %s on line %d 98 Warning: link(): No such file or directory in %s on line %d
|
H A D | file_put_contents_variation8-win32.phpt | 12 /* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]]) 13 * Description: Write/Create a file with contents data and return the number of bytes written 14 * Source code: ext/standard/file.c 32 "/no/such/file/dir" => "/no/such/file/dir", 89 -- Filename: /no/such/file/dir -- 91 Warning: file_put_contents(/no/such/file/dir): failed to open stream: %s in %s on line %d 92 Failed to write data to: /no/such/file/dir
|
H A D | rename_variation13.phpt | 13 * Description: Rename a file 14 * Source code: ext/standard/file.c 37 "/no/such/file/dir", 67 Warning: rename(-1,%s/renameVar13/afile.tmp): No such file or directory in %s on line %d 72 Warning: rename(1,%s/renameVar13/afile.tmp): No such file or directory in %s on line %d 98 Warning: rename( ,%s/renameVar13/afile.tmp): No such file or directory in %s on line %d 118 -- testing '/no/such/file/dir' -- 120 Warning: rename(%s/renameVar13/afile.tmp,/no/such/file/dir): No such file or directory in %s on lin… 123 Warning: rename(/no/such/file/dir,%s/renameVar13/afile.tmp): No such file or directory in %s on lin…
|
H A D | fputcsv_002.phpt | 6 $file = dirname(__FILE__) .'/fgetcsv-test.csv'; 10 $fp = fopen($file, 'w'); 16 @unlink($file);
|
H A D | filetype_basic.phpt | 7 Description: Returns the type of the file. Possible values are fifo, char, 8 dir, block, link, file, and unknown. 20 file
|
H A D | is_writable_variation1.phpt | 26 /* test is_writable() & is_writeable() with file having different filepath notation */ 27 require dirname(__FILE__).'/file.inc'; 33 // create a new temporary file 42 /* Testing a file trailing slash */ 45 /* Testing file with double slashes */ 62 is a writable file */ 63 foreach($files_arr as $file) { 65 var_dump( is_writable($file) ); 66 var_dump( is_writeable($file) );
|
H A D | fgets_variation5.phpt | 7 Description: Gets a line from file pointer 10 // include the file.inc for common test funcitons 11 include ("file.inc"); 34 echo "Error: failed to open file $filename!"; 38 /* read with length beyong file size */ 47 //close file 50 // delete file 60 -- Testing fgets() with file opened using mode w+ -- 87 -- Testing fgets() with file opened using mode w+b -- 114 -- Testing fgets() with file opened using mode w+t -- [all …]
|
H A D | is_uploaded_file_basic.phpt | 20 // uploaded file 23 // not an uploaded file 26 // not an uploaded file 29 // not an uploaded file
|
/PHP-5.5/ext/fileinfo/tests/ |
H A D | finfo_open_001.phpt | 22 Warning: finfo_open(%s123): failed to open stream: No such file or directory in %s on line %d 24 Warning: finfo_open(%s123): failed to open stream: No such file or directory in %s on line %d 29 Warning: finfo_open(%s1): failed to open stream: No such file or directory in %s on line %d 31 Warning: finfo_open(%s1): failed to open stream: No such file or directory in %s on line %d 36 Warning: finfo_open(%sinexistent): failed to open stream: No such file or directory in %s on line %d 38 Warning: finfo_open(%sinexistent): failed to open stream: No such file or directory in %s on line %d
|
/PHP-5.5/ext/spl/tests/ |
H A D | bug36287.phpt | 9 foreach($it as $file) 12 var_Dump($file->getFilename()); 14 var_dump($file->getFilename());
|
H A D | RecursiveDirectoryIterator_getSubPath_basic.phpt | 30 foreach(glob($dir . '/*') as $file) { 31 if(is_dir($file)) { 32 rrmdir($file); 34 unlink($file);
|
/PHP-5.5/ext/dba/tests/ |
H A D | dba_db4_015.phpt | 17 echo "database file created\n"; 22 echo "database file opened\n"; 37 database file created 38 database file opened
|
/PHP-5.5/ext/gd/tests/ |
H A D | imagegd2_nullbyte_injection.phpt | 9 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); } 28 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
|
H A D | imagegd_nullbyte_injection.phpt | 9 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); } 28 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
|
/PHP-5.5/ext/curl/tests/ |
H A D | curl_write_file.phpt | 7 …tes the value 'test' to a temporary file. Use curl to access this file and store the output in ano… 24 curl_setopt($ch, CURLOPT_URL, 'file://' . $log_file);
|
/PHP-5.5/ext/zip/tests/ |
H A D | oo_namelocate.phpt | 12 $file = $dirname . '__tmp_oo_rename.zip'; 14 @unlink($file); 17 if (!$zip->open($file, ZIPARCHIVE::CREATE)) { 30 if (!$zip->open($file)) {
|
/PHP-5.5/ext/standard/tests/image/ |
H A D | getimagesize.phpt | 13 while (($file = readdir($dir)) !== FALSE) { 14 if (preg_match('/^test.+pix\./',$file) && $file != "test13pix.swf") { 15 $files[] = $file; 20 foreach($files as $file) { 21 $result[$file] = getimagesize(dirname(__FILE__)."/$file");
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | 007-win32.phpt | 9 $file = str_repeat("A", PHP_MAXPATHLEN - strlen(__DIR__ . DIRECTORY_SEPARATOR . __FILE__)); 11 var_dump(php_strip_whitespace($file)); 17 Warning: php_strip_whitespace(%s): failed to open stream: No such file or directory in %s on line %d
|
H A D | url_t.phpt | 60 'zlib:/path/to/my/file/file.txt', 66 'file:///path/to/file', 67 'file://path/to/file', 68 'file:/path/to/file', 644 --> zlib:/path/to/my/file/file.txt: array(2) { 648 string(25) "/path/to/my/file/file.txt" 696 --> file:///path/to/file: array(2) { 698 string(4) "file" 703 --> file://path/to/file: array(3) { 705 string(4) "file" [all …]
|
/PHP-5.5/ext/phar/tests/tar/ |
H A D | links4.phpt | 2 Phar: tar with link to root directory file from root directory file 14 echo $p['file.txt']->getContent();
|
/PHP-5.5/ext/sqlite3/tests/ |
H A D | sqlite3_21_security.phpt | 10 $file = uniqid() . '.db'; 13 $db = new SQLite3($directory . $file); 16 unlink($directory . $file); 20 $db = new SQLite3('../bad' . $file);
|