Home
last modified time | relevance | path

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

12345678910>>...25

/PHP-7.4/ext/curl/tests/
H A Dcurl_write_stdout.phpt15 $fp = fopen($log_file, 'w+');
16 fwrite($fp, "test");
17 fclose($fp);
H A Dserver.inc29 $fp = @fsockopen(PHP_CURL_SERVER_HOSTNAME, PHP_CURL_SERVER_PORT);
36 if ($fp) {
42 if ($fp) {
43 fclose($fp);
H A Dcurl_write_file.phpt16 $fp = fopen($log_file, 'w+');
17 fwrite($fp, "test");
18 fclose($fp);
/PHP-7.4/Zend/
H A Dzend_stream.c63 ZEND_API void zend_stream_init_fp(zend_file_handle *handle, FILE *fp, const char *filename) { in zend_stream_init_fp() argument
66 handle->handle.fp = fp; in zend_stream_init_fp()
85 return handle->handle.fp ? SUCCESS : FAILURE; in zend_stream_open()
133 if (!file_handle->handle.fp) { in zend_stream_fixup()
138 file_handle->handle.stream.handle = file_handle->handle.fp; in zend_stream_fixup()
206 fclose(fh->handle.fp); in zend_file_handle_dtor()
244 return fh1->handle.fp == fh2->handle.fp; in zend_compare_file_handles()
/PHP-7.4/ext/standard/tests/file/
H A Dfgetss.phpt20 $fp = fopen($filename, "r");
21 var_dump(fgetss($fp));
22 var_dump(fgetss($fp));
27 $fp = fopen($filename, "r");
28 var_dump(fgetss($fp, 10));
29 var_dump(fgetss($fp, 10));
32 var_dump(fgetss($fp, -10));
33 var_dump(fgetss($fp, 0));
34 fclose($fp);
35 var_dump(fgetss($fp, 0));
H A Dfgets_error.phpt17 $fp = fopen(__FILE__, "r");
18 var_dump( fgets($fp, 10, $fp) );
23 var_dump( fgets($fp, $len) );
25 var_dump( fgets($fp, $len) );
27 var_dump( fgets($fp, $len) ); // return length - 1 always, expect false
48 fclose($fp);
49 var_dump(fgets($fp,10));
H A Dfgetss_error.phpt19 $fp = fopen(__FILE__, "r");
20 var_dump( fgetss($fp, 100, '<p><a>', $fp) );
26 var_dump( fgetss($fp, $len, $allowable_tags) );
28 var_dump( fgetss($fp, $len, $allowable_tags) );
30 var_dump( fgetss($fp, $len, $allowable_tags) ); // return length - 1 always, expect false
49 fclose($fp);
50 var_dump(fgetss($fp,10,$allowable_tags));
H A Drename_variation3-win32.phpt26 $fp = fopen($filename, "w");
27 if (!$fp) {
30 fclose($fp);
46 $fp = fopen($filename, "w");
47 fclose($fp);
/PHP-7.4/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-7.4/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-7.4/ext/gd/tests/
H A Dimageloadfont_invalid.phpt11 $fp = fopen($filename, 'wb');
12 fwrite($fp, $bin);
13 fclose($fp);
/PHP-7.4/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-7.4/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-7.4/ext/standard/tests/strings/
H A Dstr_replace_basic.phpt29 $fp = fopen( __FILE__, "r" );
30 $fp_copy = $fp;
33 fclose($fp);
/PHP-7.4/sapi/cli/tests/
H A Dphp_cli_server_021.phpt13 $fp = php_cli_server_connect();
15 if(fwrite($fp, <<<HEADER
23 fpassthru($fp);
H A Dbug43177.phpt41 $fp = php_cli_server_connect();
42 if(fwrite($fp, <<<HEADER
49 while (!feof($fp)) {
50 echo fgets($fp);
/PHP-7.4/Zend/tests/
H A Dstrict_001.phpt8 $fp = fopen(__FILE__, 'r');
12 var_dump($array[$fp]);
/PHP-7.4/ext/json/tests/
H A Dbug73254.phpt12 $fp = fopen('php://temp', 'r');
13 $data = ['a' => $fp];
/PHP-7.4/ext/dba/libcdb/
H A Dcdb.h29 php_stream *fp; member
42 void cdb_init(struct cdb *, php_stream *fp);
/PHP-7.4/ext/libxml/tests/
H A Dbug63389.phpt7 $fp = fopen("php://input", "r");
8 libxml_set_streams_context($fp);
/PHP-7.4/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);
/PHP-7.4/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-7.4/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);

Completed in 39 milliseconds

12345678910>>...25