Home
last modified time | relevance | path

Searched refs:fp (Results 151 – 175 of 624) sorted by relevance

12345678910>>...25

/PHP-7.4/ext/spl/tests/
H A DSplFileObject_fgetcsv_escape_basic.phpt5 $fp = fopen('SplFileObject__fgetcsv6.csv', 'w+');
6 fwrite($fp, '"aaa","b""bb","ccc"');
7 fclose($fp);
H A DSplFileObject_fgetcsv_escape_default.phpt5 $fp = fopen('SplFileObject__fgetcsv7.csv', 'w+');
6 fwrite($fp, '"aa\"","bb","\"c"');
7 fclose($fp);
H A DSplFileObject_fgetcsv_delimiter_error.phpt5 $fp = fopen('SplFileObject__fgetcsv3.csv', 'w+');
6 fputcsv($fp, array(
12 fclose($fp);
H A DSplFileObject_fgetcsv_enclosure_error.phpt5 $fp = fopen('SplFileObject__fgetcsv5.csv', 'w+');
6 fputcsv($fp, array(
12 fclose($fp);
H A DSplFileObject_fgetcsv_escape_error.phpt5 $fp = fopen('SplFileObject__fgetcsv8.csv', 'w+');
6 fwrite($fp, '"aaa","b""bb","ccc"');
7 fclose($fp);
/PHP-7.4/ext/standard/tests/file/
H A Dunlink_basic.phpt13 $fp = fopen($filename, "w"); // create file
14 fwrite($fp, "Hello World");
15 fclose($fp);
26 $fp = fopen($filename, "w"); // create file
27 fclose($fp);
H A Dbug53848.phpt8 $fp = fopen($file, "r");
9 while ($l = fgetcsv($fp)) var_dump($l);
10 fclose($fp);
H A Dtouch_variation2.phpt10 $fp=fopen($filename,"w");
11 fwrite ($fp,"mydata");
12 fclose($fp);
H A Dglob_basic.phpt20 $fp = fopen("$dirname/wonder12345", "w");
21 fclose($fp);
22 $fp = fopen("$dirname/wonder.txt", "w");
23 fclose($fp);
24 $fp = fopen("$dirname/file.text", "w");
25 fclose($fp);
H A Dfputcsv_variation15.phpt34 $fp = fopen($file, "w");
36 fputcsv($fp, explode(',', $v), ',', '"', '/');
38 fclose($fp);
47 $fp = fopen($file, "r");
49 while($l=fgetcsv($fp, 0, ',', '"', '/'))
53 fclose($fp);
H A Dbug12556.phpt5 $fp = fopen(__DIR__."/test.csv", "r");
6 while($line = fgetcsv($fp, 24)) {
10 fclose($fp);
H A Dfstat.phpt8 $fp = fopen($filename, "w");
9 var_dump(fstat($fp));
10 fclose($fp);
11 var_dump(fstat($fp));
/PHP-7.4/ext/standard/tests/strings/
H A Dvfprintf_basic1.phpt24 if (!($fp = fopen($data_file, 'wt')))
27 $result = vfprintf($fp, $format1, $arg1);
29 $result = vfprintf($fp, $format2, $arg2);
31 $result = vfprintf($fp, $format3, $arg3);
34 fclose($fp);
/PHP-7.4/ext/standard/tests/streams/
H A Dstream_get_meta_data_file_basic.phpt6 $fp = fopen(__FILE__, "r");
8 var_dump(stream_get_meta_data($fp));
10 fclose($fp);
H A Dbug70198.phpt43 $fp = stream_socket_client($srv_addr, $errno, $errstr, 2);
44 if (!$fp) {
47 stream_set_blocking($fp, 0);
49 while (!feof($fp)) {
52 fclose($fp);
/PHP-7.4/ext/ftp/tests/
H A Dftp_nb_get_large.phpt24 $fp = fopen($local_file, 'r');
25 fseek($fp, 5368709119);
26 var_dump(fread($fp, 1));
28 fclose($fp);
/PHP-7.4/ext/standard/tests/dir/
H A Dclosedir_variation3.phpt18 var_dump($fp = fopen(__FILE__, 'r'));
21 var_dump(closedir($fp));
24 var_dump($fp);
26 if(is_resource($fp)) {
27 fclose($fp);
/PHP-7.4/ext/phar/tests/cache_list/files/
H A Dwrite24.phar.inc10 $fp = fopen("phar://" . __FILE__ . "/newname", "w");
11 fwrite($fp, "hi");
12 fclose($fp);
H A Dphar_test.inc65 $fp = gzopen($fname, 'w');
66 fwrite($fp, $file);
67 fclose($fp);
71 $fp = bzopen($fname, 'w');
72 fwrite($fp, $file);
73 fclose($fp);
/PHP-7.4/ext/phar/tests/files/
H A Dphar_test.inc65 $fp = gzopen($fname, 'w');
66 fwrite($fp, $file);
67 fclose($fp);
71 $fp = bzopen($fname, 'w');
72 fwrite($fp, $file);
73 fclose($fp);
/PHP-7.4/sapi/cli/tests/
H A Dphp_cli_server_004.phpt15 $fp = php_cli_server_connect();
17 if(fwrite($fp, <<<HEADER
27 while (!feof($fp)) {
28 echo fgets($fp);
H A Dphp_cli_server_005.phpt13 $fp = php_cli_server_connect();
29 if(fwrite($fp, <<<HEADER
39 while (!feof($fp)) {
40 echo fgets($fp);
/PHP-7.4/ext/openssl/tests/
H A Dbug74159.phpt85 $fp = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
87 stream_set_blocking($fp, false);
88 … while (0 === ($n = stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT)));
94 $written = streamWrite($fp, $data);
97 waitForWrite($fp);
101 while(waitForRead($fp)) {
102 streamRead($fp);
103 if (feof($fp)) {
/PHP-7.4/ext/bz2/tests/
H A Dbug72447.phpt10 $fp = fopen('testfile', 'w');
11 stream_filter_append($fp, 'bzip2.compress', STREAM_FILTER_WRITE, $param);
12 fclose($fp);
/PHP-7.4/ext/xmlwriter/tests/
H A Dxmlwriter_set_indent_string_basic_001.phpt8 $fp = fopen($temp_filename, "w");
9 fwrite ($fp, "Hi");
10 fclose($fp);

Completed in 60 milliseconds

12345678910>>...25