Home
last modified time | relevance | path

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

12345678910>>...23

/PHP-8.1/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-8.1/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-8.1/ext/standard/tests/strings/
H A Dvfprintf_error4.phpt11 $fp = fopen( $file, "a+" );
20 var_dump( vfprintf( $fp, 'Foo %$c-0202Sd', array( 2 ) ) );
25 fclose( $fp );
/PHP-8.1/ext/json/tests/
H A Dbug73254.phpt8 $fp = fopen('php://temp', 'r');
9 $data = ['a' => $fp];
/PHP-8.1/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-8.1/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-8.1/Zend/tests/
H A Dstrict_001.phpt8 $fp = fopen(__FILE__, 'r');
12 var_dump($array[$fp]);
/PHP-8.1/ext/libxml/tests/
H A Dbug63389.phpt7 $fp = fopen("php://input", "r");
8 libxml_set_streams_context($fp);
/PHP-8.1/ext/pdo/tests/
H A Dbug_34630.phpt28 $fp = tmpfile();
29 fwrite($fp, "I am the LOB data");
30 rewind($fp);
41 $insert->bindValue(':blob', $fp, PDO::PARAM_LOB);
/PHP-8.1/ext/phar/tests/
H A D021.phpt25 $fp = fopen('phar://hio/a', 'r');
26 var_dump(fstat($fp));
27 fclose($fp);
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit_perf_dump.c259 static FILE *fp = NULL; in zend_jit_perf_map_register() local
261 if (!fp) { in zend_jit_perf_map_register()
265 fp = fopen(filename, "w"); in zend_jit_perf_map_register()
266 if (!fp) { in zend_jit_perf_map_register()
269 setlinebuf(fp); in zend_jit_perf_map_register()
271 fprintf(fp, "%zx %zx %s\n", (size_t)(uintptr_t)start, size, name); in zend_jit_perf_map_register()
/PHP-8.1/ext/standard/tests/filters/
H A Dbug22538.phpt18 $fp = fopen($path1, "w") or die("Can not open $path1\n");
23 fwrite($fp, $str);
26 fclose($fp);
/PHP-8.1/ext/curl/tests/
H A Dbug68937.phpt28 function curl_read($ch, $fp, $len) {
29 var_dump($fp);
H A Dbug68937_2.phpt28 function curl_read($ch, $fp, $len) {
29 var_dump($fp);
/PHP-8.1/ext/openssl/tests/
H A Dopenssl_x509_read_basic.phpt7 $fp = fopen(__DIR__ . "/cert.crt","r");
8 $a = fread($fp,8192);
9 fclose($fp);
/PHP-8.1/ext/standard/tests/file/
H A Dfputcsv_002.phpt10 $fp = fopen($file, 'w');
12 fputcsv($fp, $data);
/PHP-8.1/ext/fileinfo/tests/
H A Dfinfo_close_error.phpt10 $fp = fopen( __FILE__, 'r' );
12 var_dump( finfo_close( $fp ) );
/PHP-8.1/ext/standard/tests/array/
H A Darray_unique_variation4.phpt17 $fp = fopen(__FILE__, "r");
44 /*8*/ array(11 => new classA(), "unset" => @$unset_var, "resource" => $fp, new classA(), $fp),
55 fclose($fp);
/PHP-8.1/ext/gmp/tests/
H A Dgmp_div_q.phpt29 $fp = fopen(__FILE__, 'r');
32 var_dump(gmp_div_q($fp, $fp));
/PHP-8.1/sapi/cli/tests/
H A Dphp_cli_server.inc73 $fp = @fsockopen("tcp://$bound");
80 if ($fp) {
112 $fp = fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT, $errno, $errstr, $timeout);
113 if (!$fp) {
116 return $fp;
/PHP-8.1/ext/standard/tests/dir/
H A Dreaddir_variation7.phpt12 var_dump($fp = fopen(__FILE__, "r"));
14 var_dump( readdir($fp) );

Completed in 36 milliseconds

12345678910>>...23