/php-src/ext/standard/tests/file/ |
H A D | 007_variation12.phpt | 2 Test fopen and fclose() functions - usage variations - "w+t" mode 11 /* Test fopen() and fclose(): Opening the file in "w+t" mode, 24 echo "*** Test fopen() & fclose() functions: with 'w+t' mode ***\n"; 25 $file_handle = fopen($file, "w+t"); //opening the file "w+t" mode 39 fclose( fopen($file, "w+t") ); //Opening the existing data file again in "w+t" mode 44 fclose( fopen($file, "w+t") ); //Opening the non-existing file in "w+t" mode, which will be created 53 *** Test fopen() & fclose() functions: with 'w+t' mode ***
|
H A D | 007_variation19.phpt | 2 Test fopen and fclose() functions - usage variations - "wb" mode 6 /* Test fopen() and fclose(): Opening the file in "wb" mode, 19 echo "*** Test fopen() & fclose() functions: with 'wb' mode ***\n"; 20 $file_handle = fopen($file, "wb"); //opening the file "wb" mode 34 fclose( fopen($file, "wb") ); //Opening the existing data file again in "wb" mode 39 fclose( fopen($file, "wb") ); //Opening the non-existing file in "wb" mode, which will be created 48 *** Test fopen() & fclose() functions: with 'wb' mode ***
|
H A D | 007_variation3.phpt | 2 Test fopen and fclose() functions - usage variations - "w" mode 6 /* Test fopen() and fclose(): Opening the file in "w" mode, 19 echo "*** Test fopen() & fclose() functions: with 'w' mode ***\n"; 20 $file_handle = fopen($file, "w"); //opening the file "w" mode 34 fclose( fopen($file, "w") ); //Opening the existing data file again in "w" mode 39 fclose( fopen($file, "w") ); //Opening the non-existing file in "w" mode, which will be created 48 *** Test fopen() & fclose() functions: with 'w' mode ***
|
H A D | 007_variation11-win32-mb.phpt | 2 Test fopen and fclose() functions - usage variations - "wt" mode 11 /* Test fopen() and fclose(): Opening the file in "wt" mode, 24 echo "*** Test fopen() & fclose() functions: with 'wt' mode ***\n"; 25 $file_handle = fopen($file, "wt"); //opening the file "wt" mode 39 fclose( fopen($file, "wt") ); //Opening the existing data file again in "wt" mode 44 fclose( fopen($file, "wt") ); //Opening the non-existing file in "wt" mode, which will be created 55 *** Test fopen() & fclose() functions: with 'wt' mode ***
|
H A D | 007_variation11-win32.phpt | 2 Test fopen and fclose() functions - usage variations - "wt" mode 11 /* Test fopen() and fclose(): Opening the file in "wt" mode, 24 echo "*** Test fopen() & fclose() functions: with 'wt' mode ***\n"; 25 $file_handle = fopen($file, "wt"); //opening the file "wt" mode 39 fclose( fopen($file, "wt") ); //Opening the existing data file again in "wt" mode 44 fclose( fopen($file, "wt") ); //Opening the non-existing file in "wt" mode, which will be created 53 *** Test fopen() & fclose() functions: with 'wt' mode ***
|
H A D | 007_variation11.phpt | 2 Test fopen and fclose() functions - usage variations - "wt" mode 11 /* Test fopen() and fclose(): Opening the file in "wt" mode, 24 echo "*** Test fopen() & fclose() functions: with 'wt' mode ***\n"; 25 $file_handle = fopen($file, "wt"); //opening the file "wt" mode 39 fclose( fopen($file, "wt") ); //Opening the existing data file again in "wt" mode 44 fclose( fopen($file, "wt") ); //Opening the non-existing file in "wt" mode, which will be created 53 *** Test fopen() & fclose() functions: with 'wt' mode ***
|
H A D | 007_variation20.phpt | 2 Test fopen and fclose() functions - usage variations - "w+b" mode 6 /* Test fopen() and fclose(): Opening the file in "w+b" mode, 19 echo "*** Test fopen() & fclose() functions: with 'w+b' mode ***\n"; 20 $file_handle = fopen($file, "w+b"); //opening the file "w+b" mode 34 fclose( fopen($file, "w+b") ); //Opening the existing data file again in "w+b" mode 39 fclose( fopen($file, "w+b") ); //Opening the non-existing file in "w+b" mode, which will be created 48 *** Test fopen() & fclose() functions: with 'w+b' mode ***
|
H A D | filesize_variation4-win32.phpt | 20 $file_handle = fopen($filename, "w"); 28 $file_handle = fopen($filename, "wt"); 36 $file_handle = fopen($filename, "a"); 43 $file_handle = fopen($filename, "at"); 50 $file_handle = fopen($filename, "a"); 57 $file_handle = fopen($filename, "a"); 64 fclose( fopen($filename, "w") ); 70 fclose( fopen($filename, "w") );
|
H A D | fopen_variation1.phpt | 2 fopen() with relative path on a file in the script directory 8 $fd = fopen($file, "r", true);
|
H A D | stream_copy_to_stream_empty.phpt | 9 $in = fopen($tmp_empty_file, 'r'); 10 $out = fopen('php://memory', 'w');
|
H A D | is_file_variation1.phpt | 12 $file_handle = fopen($filename, "w" ); 19 $file_handle = fopen( $file_path."/is_file_variation1.tmp", "r"); 27 /* created by fopen() */ 28 fclose( fopen($file_path."/is_file_variation1.tmp", "w") );
|
H A D | bug38086.phpt | 10 $src = fopen($initial_file, 'r'); 13 $dest = fopen($new_file, 'w'); 24 $src = fopen($initial_file, 'r'); 27 $dest = fopen($new_file, 'w');
|
H A D | filesize_variation4.phpt | 22 $file_handle = fopen($filename, "w"); 30 $file_handle = fopen($filename, "wt"); 38 $file_handle = fopen($filename, "a"); 45 $file_handle = fopen($filename, "at"); 52 $file_handle = fopen($filename, "a"); 59 $file_handle = fopen($filename, "a"); 66 fclose( fopen($filename, "w") ); 72 fclose( fopen($filename, "w") );
|
H A D | stream_enclosed.phpt | 7 $s = fopen('php://temp/maxmemory=1024','wb+'); 9 $t = fopen('php://temp/maxmemory=1024','wb+');
|
/php-src/sapi/cli/tests/ |
H A D | gh8827-003.phpt | 15 $stdoutStream = fopen('php://stdout', 'r'); 27 $stdoutFileStream = fopen($stdoutFile, 'a'); 28 $stderrFileStream = fopen($stderrFile, 'a');
|
/php-src/Zend/tests/ |
H A D | bug70398.phpt | 6 define("FILE_STREAM", fopen("php://temp", "r")); 8 define("FILE_STREAMS", array(fopen("php://temp", "r")));
|
/php-src/ext/standard/tests/streams/ |
H A D | bug74951.phpt | 10 $s=fopen('e0ploit://',0); 13 Warning: fopen(e0ploit://): Failed to open stream: operation failed in %s%ebug74951.php on line 7
|
H A D | bug54946.phpt | 6 $stream = fopen($filename, "w"); // w or a 16 $stream = fopen($filename, "a"); 26 $stream = fopen($filename, "a");
|
H A D | stream_context_tcp_nodelay_fopen.phpt | 2 stream context tcp_nodelay fopen 20 $stream = fopen("http://www.php.net", "r", false, $ctxt);
|
/php-src/ext/standard/tests/strings/ |
H A D | bug68996.phpt | 7 fopen("\xfc\x63", "r"); 11 <b>Warning</b>: fopen(�c): Failed to open stream: No such file or directory in <b>%sbug68996.php</…
|
/php-src/ext/iconv/tests/ |
H A D | iconv_stream_filter.phpt | 9 $fp = fopen(__DIR__.'/iconv_stream_filter.txt', 'rb'); 15 $fp = fopen(__DIR__.'/iconv_stream_filter.txt', 'rb'); 22 $fp = fopen(__DIR__.'/iconv_stream_filter.txt', 'rb');
|
/php-src/ext/gd/libgd/ |
H A D | gdtopng.c | 19 in = fopen (argv[1], "rb"); in main() 32 out = fopen (argv[2], "wb"); in main()
|
H A D | pngtogd.c | 20 in = fopen (argv[1], "rb"); in main() 33 out = fopen (argv[2], "wb"); in main()
|
/php-src/ext/phar/tests/ |
H A D | bug81726.phpt | 8 var_dump(fopen("phar://" . __DIR__ . "/bug81726.gz", "r")); 11 Warning: fopen(phar://%s): Failed to open stream: unable to decompress gzipped phar archive "%s" in…
|
/php-src/tests/basic/ |
H A D | enable_post_data_reading_06.phpt | 94 $f1 = fopen("php://input", "r"); 95 $f2 = fopen("php://input", "r");
|