Home
last modified time | relevance | path

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

12345678910>>...23

/PHP-8.1/ext/standard/tests/file/
H A Dflock_error.phpt15 $fp = fopen($file, "w");
33 var_dump(flock($fp, $operation));
42 $fp = fopen($file, "w");
43 fclose($fp);
45 var_dump(flock($fp, LOCK_SH|LOCK_NB));
H A Dbug26003.phpt5 $fp = fopen(__DIR__.'/test3.csv', 'r');
6 var_dump(fgetcsv($fp, 4096));
H A Dfstat_basic.phpt5 $fp = fopen (__FILE__, 'r');
6 var_dump(fstat( $fp ) );
7 fclose($fp);
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-8.1/ext/dba/libcdb/
H A Dcdb.c93 void cdb_init(struct cdb *c, php_stream *fp) in cdb_init() argument
97 c->fp = fp; in cdb_init()
104 if (php_stream_seek(c->fp, pos, SEEK_SET) == -1) { in cdb_read()
111 r = php_stream_read(c->fp, buf, len); in cdb_read()
/PHP-8.1/ext/curl/tests/
H A Dcurl_write_return.phpt16 $fp = fopen($log_file, 'w+');
17 fwrite($fp, "test");
18 fclose($fp);
H A Dcurl_write_stdout.phpt15 $fp = fopen($log_file, 'w+');
16 fwrite($fp, "test");
17 fclose($fp);
H A Dcurl_write_callback.phpt21 $fp = fopen($log_file, 'w+');
22 fwrite($fp, "test");
23 fclose($fp);
H A Dcurl_write_file.phpt16 $fp = fopen($log_file, 'w+');
17 fwrite($fp, "test");
18 fclose($fp);
/PHP-8.1/ext/gd/tests/
H A Dimageloadfont_invalid.phpt9 $fp = fopen($filename, 'wb');
10 fwrite($fp, $bin);
11 fclose($fp);
/PHP-8.1/ext/standard/tests/filters/
H A Dstream_filter_remove_error.phpt12 $fp = fopen( $file, 'w+' );
13 $filter = stream_filter_append( $fp, "string.rot13", STREAM_FILTER_WRITE );
19 stream_filter_remove($fp);
33 fclose( $fp );
/PHP-8.1/ext/exif/tests/
H A Dgh10834.phpt70 $fp = fopen('var://myvar', 'rb');
72 stream_set_chunk_size($fp, 10);
73 $headers = exif_read_data($fp);
76 fclose($fp);
/PHP-8.1/ext/standard/tests/array/
H A Darray_product_variation1.phpt10 $fp = fopen(__FILE__, "r");
14 "resource" => $fp, "object" => new A(), "null" => null,
23 fclose($fp);
/PHP-8.1/ext/zlib/tests/
H A Dzlib_wrapper_level.phpt17 $fp = fopen("compress.zlib://$filename", 'w', false, $ctx);
19 fwrite($fp, $thisfile);
21 fclose($fp);
/PHP-8.1/ext/phar/tests/
H A Dopen_for_write_existing.phpt20 $fp = fopen($pname . '/b/c.php', 'wb');
21 fwrite($fp, 'extra');
22 fclose($fp);
H A Dopen_for_write_newfile.phpt20 $fp = fopen($pname . '/b/new.php', 'wb');
21 fwrite($fp, 'extra');
22 fclose($fp);
/PHP-8.1/ext/dba/
H A Ddba.c331 if (info->fp && info->fp != info->lock.fp) { in dba_close()
338 if (info->lock.fp) { in dba_close()
795 if (!info->lock.fp) { in php_dba_open()
805 if (!info->lock.fp) { in php_dba_open()
807 if (info->lock.fp) { in php_dba_open()
821 if (!info->lock.fp) { in php_dba_open()
838 info->fp = info->lock.fp; /* use the same stream for locking and database access */ in php_dba_open()
842 if (!info->fp) { in php_dba_open()
866 if (info->fp != info->lock.fp) { in php_dba_open()
869 info->fp = NULL; in php_dba_open()
[all …]
/PHP-8.1/ext/phar/
H A Dutil.c105 return entry->fp; in phar_get_efp()
108 if (!entry->fp) { in phar_get_efp()
111 return entry->fp; in phar_get_efp()
121 if (!fp) { in phar_seek_efp()
554 if (!etemp.fp) { in phar_get_or_create_entry_data()
607 ret->fp = entry->fp; in phar_get_or_create_entry_data()
792 dummy.fp = ufp; in phar_open_entry_fp()
832 if (!entry->fp) { in phar_create_writeable_entry()
855 php_stream *fp; in phar_separate_entry_fp() local
867 if (fp == NULL) { in phar_separate_entry_fp()
[all …]
/PHP-8.1/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-8.1/ext/imap/tests/
H A Dimap_savebody_basic.phpt25 $fp = fopen($file, 'w');
26 $z = imap_savebody($stream_id, $fp, 1);
27 fclose($fp);
/PHP-8.1/ext/standard/tests/strings/
H A Dstr_replace_basic.phpt22 $fp = fopen( __FILE__, "r" );
23 $fp_copy = $fp;
30 fclose($fp);
/PHP-8.1/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);

Completed in 41 milliseconds

12345678910>>...23