Home
last modified time | relevance | path

Searched refs:fp (Results 226 – 250 of 578) sorted by relevance

12345678910>>...24

/php-src/ext/standard/tests/file/
H A Dfstat_variation8.phpt7 $fp = fopen (__FILE__, 'r');
8 $fstat_result = fstat($fp);
9 fclose($fp);
H A Drename_variation3-win32.phpt22 $fp = fopen($filename, "w");
23 if (!$fp) {
26 fclose($fp);
42 $fp = fopen($filename, "w");
43 fclose($fp);
H A Dreadfile_variation1.phpt20 $fp = fopen($filename, "w");
21 fill_file($fp, "text_with_new_line", 50);
22 fclose($fp);
/php-src/ext/zlib/tests/
H A Dzlib_wrapper_level.phpt19 $fp = fopen("compress.zlib://$filename", 'w', false, $ctx);
21 fwrite($fp, $thisfile);
23 fclose($fp);
/php-src/ext/opcache/tests/
H A Dphp_cli_server.inc28 $fp = @fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT);
35 if ($fp) {
41 if ($fp) {
42 fclose($fp);
/php-src/ext/curl/tests/
H A Dcurl_write_file.phpt16 $fp = fopen($log_file, 'w+');
17 fwrite($fp, "test");
18 fclose($fp);
/php-src/ext/standard/tests/strings/
H A Dstr_replace_basic.phpt22 $fp = fopen( __FILE__, "r" );
23 $fp_copy = $fp;
30 fclose($fp);
H A Dvfprintf_error4.phpt11 $fp = fopen( $file, "a+" );
20 var_dump( vfprintf( $fp, 'Foo %$c-0202Sd', array( 2 ) ) );
25 fclose( $fp );
/php-src/ext/standard/tests/streams/
H A Dbug51056.phpt26 $fp = fsockopen("tcp://127.0.0.1:64324");
28 while (!feof($fp)) {
29 $data = fread($fp, 256);
/php-src/sapi/cli/tests/
H A Dbug43177.phpt41 $fp = php_cli_server_connect();
42 if(fwrite($fp, <<<HEADER
49 while (!feof($fp)) {
50 echo fgets($fp);
H A Dphp_cli_server_021.phpt13 $fp = php_cli_server_connect();
15 if(fwrite($fp, <<<HEADER
23 fpassthru($fp);
/php-src/ext/phar/tests/
H A Dopen_for_write_newfile.phpt20 $fp = fopen($pname . '/b/new.php', 'wb');
21 fwrite($fp, 'extra');
22 fclose($fp);
H A D021.phpt25 $fp = fopen('phar://hio/a', 'r');
26 var_dump(fstat($fp));
27 fclose($fp);
/php-src/ext/phar/tests/tar/
H A Dopen_for_write_existing.phpt29 $fp = fopen($alias . '/b/c.php', 'wb');
30 fwrite($fp, 'extra');
31 fclose($fp);
H A Dopen_for_write_newfile.phpt29 $fp = fopen($alias . '/b/new.php', 'wb');
30 fwrite($fp, 'extra');
31 fclose($fp);
/php-src/ext/phar/tests/zip/
H A Dopen_for_write_existing.phpt28 $fp = fopen($alias . '/b/c.php', 'wb');
29 fwrite($fp, 'extra');
30 fclose($fp);
H A Dopen_for_write_newfile.phpt28 $fp = fopen($alias . '/b/new.php', 'wb');
29 fwrite($fp, 'extra');
30 fclose($fp);
/php-src/ext/json/tests/
H A Dbug73254.phpt8 $fp = fopen('php://temp', 'r');
9 $data = ['a' => $fp];
/php-src/Zend/tests/function_arguments/
H A Dargument_count_correct.phpt15 $fp = fopen(__FILE__, "r");
16 fclose($fp);
H A Dargument_count_correct_strict.phpt15 $fp = fopen(__FILE__, "r");
16 fclose($fp);
/php-src/ext/dba/libcdb/
H A Dcdb_make.c40 return php_stream_write(c->fp, buf, sz) == sz ? 0 : -1; in cdb_make_write()
63 c->fp = f; in cdb_make_start()
69 return php_stream_tell(c->fp); in cdb_make_start()
227 if (php_stream_flush(c->fp) != 0) in cdb_make_finish()
229 php_stream_rewind(c->fp); in cdb_make_finish()
230 if (php_stream_tell(c->fp) != 0) in cdb_make_finish()
234 return php_stream_flush(c->fp); in cdb_make_finish()
H A Dcdb.h27 php_stream *fp; member
40 void cdb_init(struct cdb *, php_stream *fp);
/php-src/Zend/tests/
H A Dstrict_001.phpt8 $fp = fopen(__FILE__, 'r');
12 var_dump($array[$fp]);
/php-src/ext/libxml/tests/
H A Dbug63389.phpt7 $fp = fopen("php://input", "r");
8 libxml_set_streams_context($fp);
/php-src/ext/standard/tests/filters/
H A Dbug22538.phpt18 $fp = fopen($path1, "w") or die("Cannot open $path1\n");
23 fwrite($fp, $str);
26 fclose($fp);

Completed in 30 milliseconds

12345678910>>...24