Home
last modified time | relevance | path

Searched refs:fp (Results 201 – 225 of 909) sorted by relevance

12345678910>>...37

/PHP-5.5/ext/standard/tests/file/
H A Dreadfile_variation1.phpt24 $fp = fopen($filename, "w");
25 fill_file($fp, "text_with_new_line", 50);
26 fclose($fp);
H A Dfseek_variation2.phpt7 /* Prototype : proto int fseek(resource fp, int offset [, int whence])
15 $fp = fopen(__FILE__, 'r');
65 var_dump( fseek($fp, $offset, $value) );
66 var_dump( ftell($fp));
69 fclose($fp);
H A Dbug72114.phpt8 $fp = fopen("/dev/zero", "r");
9 fread($fp, 2147483648);
H A Dfputcsv_002.phpt10 $fp = fopen($file, 'w');
12 fputcsv($fp, $data);
/PHP-5.5/ext/standard/tests/array/
H A Darray_product_variation1.phpt16 $fp = fopen(__FILE__, "r");
20 "resource" => $fp, "object" => new A(), "null" => null,
29 fclose($fp);
/PHP-5.5/sapi/fpm/tests/
H A D003.phpt29 while (($i++ < 30) && !($fp = fsockopen('[::1]', 9000))) {
32 if ($fp) {
34 fclose($fp);
/PHP-5.5/ext/pdo/tests/
H A Dbug_34630.phpt27 $fp = tmpfile();
28 fwrite($fp, "I am the LOB data");
29 rewind($fp);
40 $insert->bindValue(':blob', $fp, PDO::PARAM_LOB);
/PHP-5.5/Zend/tests/
H A Dstrict_001.phpt8 $fp = fopen(__FILE__, 'r');
12 var_dump($array[$fp]);
/PHP-5.5/ext/dba/libcdb/
H A Dcdb_make.c42 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()
H A Dcdb.h31 php_stream *fp; member
44 void cdb_init(struct cdb *, php_stream *fp TSRMLS_DC);
/PHP-5.5/ext/phar/tests/zip/
H A Dopen_for_write_newfile.phpt28 $fp = fopen($alias . '/b/new.php', 'wb');
29 fwrite($fp, b'extra');
30 fclose($fp);
/PHP-5.5/ext/posix/tests/
H A Dposix_access_error_modes.phpt24 $fp = fopen($filename,"w");
25 fwrite($fp,"foo");
26 fclose($fp);
H A Dposix_access.phpt23 $fp = fopen($filename,"w");
24 fwrite($fp,"foo");
25 fclose($fp);
/PHP-5.5/ext/phar/tests/tar/
H A Dopen_for_write_newfile.phpt29 $fp = fopen($alias . '/b/new.php', 'wb');
30 fwrite($fp, b'extra');
31 fclose($fp);
/PHP-5.5/ext/libxml/tests/
H A Dbug63389.phpt7 $fp = fopen("php://input", "r");
8 libxml_set_streams_context($fp);
/PHP-5.5/ext/mysqli/tests/
H A D061.phpt24 function my_read($fp, &$buffer, $buflen, &$error) {
25 $buffer = strrev(fread($fp, $buflen));
34 $fp = fopen($filename, "w");
35 fwrite($fp, b"foo;bar");
36 fclose($fp);
/PHP-5.5/ext/standard/tests/strings/
H A Dvfprintf_variation20.phpt88 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 Dvfprintf_variation21.phpt85 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 Dvfprintf_error4.phpt17 $fp = fopen( $file, "a+" );
21 var_dump( vfprintf( $fp, 'Foo %$c-0202Sd', array( 2 ) ) );
24 fclose( $fp );
H A Dvfprintf_variation11.phpt49 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 Dvfprintf_variation11_64bit.phpt49 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 Dvfprintf_variation19.phpt50 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 Dvfprintf_variation19_64bit.phpt50 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);
/PHP-5.5/ext/phar/tests/
H A D021.phpt25 $fp = fopen('phar://hio/a', 'r');
26 var_dump(fstat($fp));
27 fclose($fp);
/PHP-5.5/ext/standard/tests/filters/
H A Dbug22538.phpt18 $fp = fopen($path1, "w") or die("Can not open $path1\n");
23 fwrite($fp, $str);
26 fclose($fp);

Completed in 79 milliseconds

12345678910>>...37