Home
last modified time | relevance | path

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

12345678910>>...37

/PHP-7.3/ext/json/tests/
H A Dbug73254.phpt12 $fp = fopen('php://temp', 'r');
13 $data = ['a' => $fp];
/PHP-7.3/ext/pdo/tests/
H A Dbug_34630.phpt27 $fp = tmpfile();
28 fwrite($fp, "I am the LOB data");
29 rewind($fp);
40 $insert->bindValue(':blob', $fp, PDO::PARAM_LOB);
/PHP-7.3/ext/curl/tests/
H A Dserver.inc46 $fp = @fsockopen(PHP_CURL_SERVER_HOSTNAME, PHP_CURL_SERVER_PORT);
53 if ($fp) {
59 if ($fp) {
60 fclose($fp);
/PHP-7.3/ext/libxml/tests/
H A Dbug63389.phpt7 $fp = fopen("php://input", "r");
8 libxml_set_streams_context($fp);
/PHP-7.3/ext/dba/libcdb/
H A Dcdb.h29 php_stream *fp; member
42 void cdb_init(struct cdb *, php_stream *fp);
/PHP-7.3/ext/phar/tests/tar/
H A Dopen_for_write_newfile.phpt29 $fp = fopen($alias . '/b/new.php', 'wb');
30 fwrite($fp, 'extra');
31 fclose($fp);
/PHP-7.3/ext/phar/tests/zip/
H A Dopen_for_write_newfile.phpt28 $fp = fopen($alias . '/b/new.php', 'wb');
29 fwrite($fp, 'extra');
30 fclose($fp);
/PHP-7.3/Zend/tests/
H A D017.phpt8 $fp = fopen(__FILE__, "r");
9 var_dump(get_resource_type($fp));
10 fclose($fp);
11 var_dump(get_resource_type($fp));
H A Doffset_bool.phpt16 $fp = fopen(__FILE__, "r");
17 var_dump($bool[$fp]);
H A Doffset_long.phpt16 $fp = fopen(__FILE__, "r");
17 var_dump($long[$fp]);
H A Doffset_null.phpt16 $fp = fopen(__FILE__, "r");
17 var_dump($null[$fp]);
/PHP-7.3/ext/phar/tests/
H A D021.phpt25 $fp = fopen('phar://hio/a', 'r');
26 var_dump(fstat($fp));
27 fclose($fp);
/PHP-7.3/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-7.3/ext/standard/tests/strings/
H A Dvfprintf_error4.phpt17 $fp = fopen( $file, "a+" );
21 var_dump( vfprintf( $fp, 'Foo %$c-0202Sd', array( 2 ) ) );
24 fclose( $fp );
H A Dvfprintf_variation20.phpt88 if (!($fp = fopen($data_file, 'wt')))
91 fprintf($fp, "\n*** Testing vprintf() with with unexpected values for format argument ***\n");
95 fprintf( $fp, "\n-- Iteration %d --\n",$counter);
96 vfprintf($fp, $value, $args);
100 fclose($fp);
H A Dvfprintf_variation21.phpt85 if (!($fp = fopen($data_file, 'wt')))
88 fprintf($fp, "\n*** Testing vprintf() with unexpected values for args argument ***\n");
92 fprintf($fp, "\n-- Iteration %d --\n",$counter);
93 vfprintf($fp, $format, $value);
97 fclose($fp);
H A Dvfprintf_variation11.phpt49 if (!($fp = fopen($data_file, 'wt')))
56 fprintf($fp, "\n-- Iteration %d --\n",$counter);
57 vfprintf($fp, $format, $args_array[$counter-1]);
61 fclose($fp);
H A Dvfprintf_variation11_64bit.phpt49 if (!($fp = fopen($data_file, 'wt')))
56 fprintf($fp, "\n-- Iteration %d --\n",$counter);
57 vfprintf($fp, $format, $args_array[$counter-1]);
61 fclose($fp);
H A Dvfprintf_variation15.phpt42 if (!($fp = fopen($data_file, 'wt')))
49 fprintf($fp, "\n-- Iteration %d --\n",$counter);
50 vfprintf($fp, $format, $args_array[$counter-1]);
54 fclose($fp);
H A Dvfprintf_variation15_64bit.phpt42 if (!($fp = fopen($data_file, 'wt')))
49 fprintf($fp, "\n-- Iteration %d --\n",$counter);
50 vfprintf($fp, $format, $args_array[$counter-1]);
54 fclose($fp);
H A Dvfprintf_variation19.phpt50 if (!($fp = fopen($data_file, 'wt')))
57 fprintf($fp, "\n-- Iteration %d --\n",$counter);
58 vfprintf($fp,$format, $args_array[$counter-1]);
62 fclose($fp);
H A Dvfprintf_variation19_64bit.phpt50 if (!($fp = fopen($data_file, 'wt')))
57 fprintf($fp, "\n-- Iteration %d --\n",$counter);
58 vfprintf($fp,$format, $args_array[$counter-1]);
62 fclose($fp);
/PHP-7.3/ext/mysqli/tests/
H A D061.phpt26 function my_read($fp, &$buffer, $buflen, &$error) {
27 $buffer = strrev(fread($fp, $buflen));
36 $fp = fopen($filename, "w");
37 fwrite($fp, "foo;bar");
38 fclose($fp);
/PHP-7.3/ext/standard/tests/file/
H A Dfseek_variation2.phpt9 /* Prototype : proto int fseek(resource fp, int offset [, int whence])
17 $fp = fopen(__FILE__, 'r');
67 var_dump( fseek($fp, $offset, $value) );
68 var_dump( ftell($fp));
71 fclose($fp);
/PHP-7.3/sapi/cli/tests/
H A Dphp_cli_server.inc49 $fp = @fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT);
56 if ($fp) {
62 if ($fp) {
63 fclose($fp);

Completed in 37 milliseconds

12345678910>>...37