/PHP-7.4/ext/standard/tests/file/ |
H A D | readfile_variation1.phpt | 24 $fp = fopen($filename, "w"); 25 fill_file($fp, "text_with_new_line", 50); 26 fclose($fp);
|
H A D | fputcsv_002.phpt | 10 $fp = fopen($file, 'w'); 12 fputcsv($fp, $data);
|
/PHP-7.4/ext/dba/libcdb/ |
H A D | cdb_make.c | 42 return php_stream_write(c->fp, buf, sz) == sz ? 0 : -1; in cdb_make_write() 65 c->fp = f; in cdb_make_start() 71 return php_stream_tell(c->fp); in cdb_make_start() 229 if (php_stream_flush(c->fp) != 0) in cdb_make_finish() 231 php_stream_rewind(c->fp); in cdb_make_finish() 232 if (php_stream_tell(c->fp) != 0) in cdb_make_finish() 236 return php_stream_flush(c->fp); in cdb_make_finish()
|
/PHP-7.4/ext/pdo/tests/ |
H A D | bug_34630.phpt | 27 $fp = tmpfile(); 28 fwrite($fp, "I am the LOB data"); 29 rewind($fp); 40 $insert->bindValue(':blob', $fp, PDO::PARAM_LOB);
|
/PHP-7.4/ext/dba/ |
H A D | dba.c | 431 if (info->fp && info->fp != info->lock.fp) { in dba_close() 438 if (info->lock.fp) { in dba_close() 904 if (!info->lock.fp) { in php_dba_open() 914 if (!info->lock.fp) { in php_dba_open() 916 if (info->lock.fp) { in php_dba_open() 930 if (!info->lock.fp) { in php_dba_open() 947 info->fp = info->lock.fp; /* use the same stream for locking and database access */ in php_dba_open() 951 if (!info->fp) { in php_dba_open() 974 close_both = (info->fp != info->lock.fp); in php_dba_open() 979 info->fp = NULL; in php_dba_open() [all …]
|
/PHP-7.4/ext/phar/tests/tar/ |
H A D | open_for_write_newfile.phpt | 29 $fp = fopen($alias . '/b/new.php', 'wb'); 30 fwrite($fp, 'extra'); 31 fclose($fp);
|
/PHP-7.4/ext/phar/tests/ |
H A D | 021.phpt | 25 $fp = fopen('phar://hio/a', 'r'); 26 var_dump(fstat($fp)); 27 fclose($fp);
|
/PHP-7.4/ext/phar/tests/zip/ |
H A D | open_for_write_newfile.phpt | 28 $fp = fopen($alias . '/b/new.php', 'wb'); 29 fwrite($fp, 'extra'); 30 fclose($fp);
|
/PHP-7.4/ext/curl/tests/ |
H A D | bug68937.phpt | 30 function curl_read($ch, $fp, $len) { 31 var_dump($fp);
|
H A D | bug68937_2.phpt | 30 function curl_read($ch, $fp, $len) { 31 var_dump($fp);
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | vfprintf_error4.phpt | 17 $fp = fopen( $file, "a+" ); 21 var_dump( vfprintf( $fp, 'Foo %$c-0202Sd', array( 2 ) ) ); 24 fclose( $fp );
|
H A D | vfprintf_variation20.phpt | 88 if (!($fp = fopen($data_file, 'wt'))) 91 fprintf($fp, "\n*** Testing vprintf() with with unexpected values for format argument ***\n"); 95 fprintf( $fp, "\n-- Iteration %d --\n",$counter); 96 vfprintf($fp, $value, $args); 100 fclose($fp);
|
H A D | vfprintf_variation21.phpt | 85 if (!($fp = fopen($data_file, 'wt'))) 88 fprintf($fp, "\n*** Testing vprintf() with unexpected values for args argument ***\n"); 92 fprintf($fp, "\n-- Iteration %d --\n",$counter); 93 vfprintf($fp, $format, $value); 97 fclose($fp);
|
H A D | vfprintf_variation11.phpt | 49 if (!($fp = fopen($data_file, 'wt'))) 56 fprintf($fp, "\n-- Iteration %d --\n",$counter); 57 vfprintf($fp, $format, $args_array[$counter-1]); 61 fclose($fp);
|
H A D | vfprintf_variation11_64bit.phpt | 49 if (!($fp = fopen($data_file, 'wt'))) 56 fprintf($fp, "\n-- Iteration %d --\n",$counter); 57 vfprintf($fp, $format, $args_array[$counter-1]); 61 fclose($fp);
|
H A D | vfprintf_variation9.phpt | 45 if (!($fp = fopen($data_file, 'wt'))) 52 fprintf($fp, "\n-- Iteration %d --\n",$counter); 53 vfprintf($fp, $format, $args_array[$counter-1]); 57 fclose($fp);
|
H A D | vfprintf_variation15.phpt | 42 if (!($fp = fopen($data_file, 'wt'))) 49 fprintf($fp, "\n-- Iteration %d --\n",$counter); 50 vfprintf($fp, $format, $args_array[$counter-1]); 54 fclose($fp);
|
H A D | vfprintf_variation15_64bit.phpt | 42 if (!($fp = fopen($data_file, 'wt'))) 49 fprintf($fp, "\n-- Iteration %d --\n",$counter); 50 vfprintf($fp, $format, $args_array[$counter-1]); 54 fclose($fp);
|
H A D | vfprintf_variation19.phpt | 50 if (!($fp = fopen($data_file, 'wt'))) 57 fprintf($fp, "\n-- Iteration %d --\n",$counter); 58 vfprintf($fp,$format, $args_array[$counter-1]); 62 fclose($fp);
|
H A D | vfprintf_variation19_64bit.phpt | 50 if (!($fp = fopen($data_file, 'wt'))) 57 fprintf($fp, "\n-- Iteration %d --\n",$counter); 58 vfprintf($fp,$format, $args_array[$counter-1]); 62 fclose($fp);
|
H A D | vfprintf_variation3.phpt | 49 if (!($fp = fopen($data_file, 'wt'))) 54 fprintf($fp, "\n-- Iteration %d --\n",$counter); 55 vfprintf($fp, $format, $args_array[$counter-1]); 59 fclose($fp);
|
H A D | vfprintf_variation5.phpt | 46 if (!($fp = fopen($data_file, 'wt'))) 53 fprintf($fp, "\n-- Iteration %d --\n",$counter); 54 vfprintf($fp, $format, $args_array[$counter-1]); 58 fclose($fp);
|
/PHP-7.4/ext/standard/tests/filters/ |
H A D | bug22538.phpt | 18 $fp = fopen($path1, "w") or die("Can not open $path1\n"); 23 fwrite($fp, $str); 26 fclose($fp);
|
/PHP-7.4/Zend/tests/ |
H A D | 017.phpt | 8 $fp = fopen(__FILE__, "r"); 9 var_dump(get_resource_type($fp)); 10 fclose($fp); 11 var_dump(get_resource_type($fp));
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | 061.phpt | 26 function my_read($fp, &$buffer, $buflen, &$error) { 27 $buffer = strrev(fread($fp, $buflen)); 36 $fp = fopen($filename, "w"); 37 fwrite($fp, "foo;bar"); 38 fclose($fp);
|