/PHP-8.1/ext/standard/tests/file/ |
H A D | flock_error.phpt | 15 $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 D | bug26003.phpt | 5 $fp = fopen(__DIR__.'/test3.csv', 'r'); 6 var_dump(fgetcsv($fp, 4096));
|
H A D | fstat_basic.phpt | 5 $fp = fopen (__FILE__, 'r'); 6 var_dump(fstat( $fp ) ); 7 fclose($fp);
|
H A D | fstat_variation8.phpt | 7 $fp = fopen (__FILE__, 'r'); 8 $fstat_result = fstat($fp); 9 fclose($fp);
|
H A D | rename_variation3-win32.phpt | 22 $fp = fopen($filename, "w"); 23 if (!$fp) { 26 fclose($fp); 42 $fp = fopen($filename, "w"); 43 fclose($fp);
|
H A D | readfile_variation1.phpt | 20 $fp = fopen($filename, "w"); 21 fill_file($fp, "text_with_new_line", 50); 22 fclose($fp);
|
/PHP-8.1/ext/dba/libcdb/ |
H A D | cdb.c | 93 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 D | curl_write_return.phpt | 16 $fp = fopen($log_file, 'w+'); 17 fwrite($fp, "test"); 18 fclose($fp);
|
H A D | curl_write_stdout.phpt | 15 $fp = fopen($log_file, 'w+'); 16 fwrite($fp, "test"); 17 fclose($fp);
|
H A D | curl_write_callback.phpt | 21 $fp = fopen($log_file, 'w+'); 22 fwrite($fp, "test"); 23 fclose($fp);
|
H A D | curl_write_file.phpt | 16 $fp = fopen($log_file, 'w+'); 17 fwrite($fp, "test"); 18 fclose($fp);
|
/PHP-8.1/ext/gd/tests/ |
H A D | imageloadfont_invalid.phpt | 9 $fp = fopen($filename, 'wb'); 10 fwrite($fp, $bin); 11 fclose($fp);
|
/PHP-8.1/ext/standard/tests/filters/ |
H A D | stream_filter_remove_error.phpt | 12 $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 D | gh10834.phpt | 70 $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 D | array_product_variation1.phpt | 10 $fp = fopen(__FILE__, "r"); 14 "resource" => $fp, "object" => new A(), "null" => null, 23 fclose($fp);
|
/PHP-8.1/ext/zlib/tests/ |
H A D | zlib_wrapper_level.phpt | 17 $fp = fopen("compress.zlib://$filename", 'w', false, $ctx); 19 fwrite($fp, $thisfile); 21 fclose($fp);
|
/PHP-8.1/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-8.1/ext/dba/ |
H A D | dba.c | 331 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 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-8.1/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-8.1/ext/imap/tests/ |
H A D | imap_savebody_basic.phpt | 25 $fp = fopen($file, 'w'); 26 $z = imap_savebody($stream_id, $fp, 1); 27 fclose($fp);
|
/PHP-8.1/ext/standard/tests/strings/ |
H A D | str_replace_basic.phpt | 22 $fp = fopen( __FILE__, "r" ); 23 $fp_copy = $fp; 30 fclose($fp);
|
/PHP-8.1/sapi/cli/tests/ |
H A D | bug43177.phpt | 41 $fp = php_cli_server_connect(); 42 if(fwrite($fp, <<<HEADER 49 while (!feof($fp)) { 50 echo fgets($fp);
|
H A D | php_cli_server_021.phpt | 13 $fp = php_cli_server_connect(); 15 if(fwrite($fp, <<<HEADER 23 fpassthru($fp);
|