/PHP-7.4/ext/curl/tests/ |
H A D | curl_write_stdout.phpt | 15 $fp = fopen($log_file, 'w+'); 16 fwrite($fp, "test"); 17 fclose($fp);
|
H A D | server.inc | 29 $fp = @fsockopen(PHP_CURL_SERVER_HOSTNAME, PHP_CURL_SERVER_PORT); 36 if ($fp) { 42 if ($fp) { 43 fclose($fp);
|
H A D | curl_write_file.phpt | 16 $fp = fopen($log_file, 'w+'); 17 fwrite($fp, "test"); 18 fclose($fp);
|
/PHP-7.4/Zend/ |
H A D | zend_stream.c | 63 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 D | fgetss.phpt | 20 $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 D | fgets_error.phpt | 17 $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 D | fgetss_error.phpt | 19 $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 D | rename_variation3-win32.phpt | 26 $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 D | php_cli_server.inc | 28 $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 D | open_for_write_existing.phpt | 20 $fp = fopen($pname . '/b/c.php', 'wb'); 21 fwrite($fp, 'extra'); 22 fclose($fp);
|
H A D | open_for_write_newfile.phpt | 20 $fp = fopen($pname . '/b/new.php', 'wb'); 21 fwrite($fp, 'extra'); 22 fclose($fp);
|
/PHP-7.4/ext/gd/tests/ |
H A D | imageloadfont_invalid.phpt | 11 $fp = fopen($filename, 'wb'); 12 fwrite($fp, $bin); 13 fclose($fp);
|
/PHP-7.4/ext/phar/ |
H A D | util.c | 105 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 D | argument_count_correct.phpt | 15 $fp = fopen(__FILE__, "r"); 16 fclose($fp);
|
H A D | argument_count_correct_strict.phpt | 15 $fp = fopen(__FILE__, "r"); 16 fclose($fp);
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | str_replace_basic.phpt | 29 $fp = fopen( __FILE__, "r" ); 30 $fp_copy = $fp; 33 fclose($fp);
|
/PHP-7.4/sapi/cli/tests/ |
H A D | php_cli_server_021.phpt | 13 $fp = php_cli_server_connect(); 15 if(fwrite($fp, <<<HEADER 23 fpassthru($fp);
|
H A D | bug43177.phpt | 41 $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 D | strict_001.phpt | 8 $fp = fopen(__FILE__, 'r'); 12 var_dump($array[$fp]);
|
/PHP-7.4/ext/json/tests/ |
H A D | bug73254.phpt | 12 $fp = fopen('php://temp', 'r'); 13 $data = ['a' => $fp];
|
/PHP-7.4/ext/dba/libcdb/ |
H A D | cdb.h | 29 php_stream *fp; member 42 void cdb_init(struct cdb *, php_stream *fp);
|
/PHP-7.4/ext/libxml/tests/ |
H A D | bug63389.phpt | 7 $fp = fopen("php://input", "r"); 8 libxml_set_streams_context($fp);
|
/PHP-7.4/ext/phar/tests/tar/ |
H A D | open_for_write_existing.phpt | 29 $fp = fopen($alias . '/b/c.php', 'wb'); 30 fwrite($fp, 'extra'); 31 fclose($fp);
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | array_product_variation1.phpt | 16 $fp = fopen(__FILE__, "r"); 20 "resource" => $fp, "object" => new A(), "null" => null, 29 fclose($fp);
|
/PHP-7.4/ext/phar/tests/zip/ |
H A D | open_for_write_existing.phpt | 28 $fp = fopen($alias . '/b/c.php', 'wb'); 29 fwrite($fp, 'extra'); 30 fclose($fp);
|