Home
last modified time | relevance | path

Searched refs:fp (Results 101 – 125 of 902) sorted by relevance

12345678910>>...37

/PHP-7.3/ext/openssl/tests/
H A Dbug72333.phpt16 $fp = stream_socket_server("ssl://127.0.0.1:10011", $errornum, $errorstr, $flags, $context);
18 $conn = stream_socket_accept($fp);
43 …$fp = stream_socket_client("ssl://127.0.0.1:10011", $errornum, $errorstr, 3000, STREAM_CLIENT_CONN…
44 stream_set_blocking($fp, false);
46 function blocking_fwrite($fp, $buf) {
47 $write = [$fp];
50 $result = fwrite($fp, $buf);
62 blocking_fwrite($fp, $str1);
/PHP-7.3/sapi/cli/tests/
H A Dbug65066_100.phpt17 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
18 if (!$fp) {
22 if(fwrite($fp, <<<HEADER
29 while (!feof($fp)) {
30 echo fgets($fp);
H A Dbug71005.phpt21 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
22 if (!$fp) {
26 if(fwrite($fp, <<<HEADER
33 while (!feof($fp)) {
34 echo fgets($fp);
H A Dbug65066_422.phpt17 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
18 if (!$fp) {
22 if(fwrite($fp, <<<HEADER
29 while (!feof($fp)) {
30 echo fgets($fp);
H A Dbug65066_511.phpt17 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
18 if (!$fp) {
22 if(fwrite($fp, <<<HEADER
29 while (!feof($fp)) {
30 echo fgets($fp);
H A Dphp_cli_server_006.phpt15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
16 if (!$fp) {
20 if(fwrite($fp, <<<HEADER
28 while (!feof($fp)) {
29 echo fgets($fp);
H A Dphp_cli_server_012.phpt17 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
18 if (!$fp) {
22 if(fwrite($fp, <<<HEADER
31 while (!feof($fp)) {
32 echo fgets($fp);
36 fclose($fp);
H A Dbug67429.phpt21 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
22 if (!$fp) {
26 if(fwrite($fp, <<<HEADER
32 while (!feof($fp)) {
33 echo fgets($fp);
37 fclose($fp);
H A Dphp_cli_server_019.phpt21 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
22 if (!$fp) {
26 if(fwrite($fp, <<<HEADER
34 while (!feof($fp)) {
35 echo fgets($fp);
39 fclose($fp);
H A Dphp_cli_server_007.phpt15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
16 if (!$fp) {
20 if(fwrite($fp, <<<HEADER
28 while (!feof($fp)) {
29 echo fgets($fp);
H A Dphp_cli_server_015.phpt21 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
22 if (!$fp) {
26 if(fwrite($fp, <<<HEADER
33 while (!feof($fp)) {
34 $output .= fgets($fp);
39 fclose($fp);
/PHP-7.3/ext/wddx/tests/
H A D003.phpt10 $fp = fopen("php://temp", 'w+');
11 …fputs($fp, "<wddxPacket version='1.0'><header><comment>TEST comment</comment></header><data><struc…
12 rewind($fp);
13 var_dump(wddx_deserialize($fp));
14 fclose($fp);
/PHP-7.3/ext/standard/tests/filters/
H A Dbug35916.phpt31 $fp=fopen($file, "w");
32 stream_filter_append($fp, "strtoupper");
33 fread($fp, 1024);
34 fwrite($fp, "Thank you\n");
35 fclose($fp);
/PHP-7.3/ext/xml/tests/
H A Dxml004.phpt12 $fp = fopen("xmltest.xml", "r");
13 while ($data = fread($fp, 4096)) {
14 xml_parse($xp, $data, feof($fp));
20 $fp = fopen("xmltest.xml", "r");
21 while ($data = fread($fp, 4096)) {
22 xml_parse($xp, $data, feof($fp));
/PHP-7.3/ext/phar/
H A Dzip.c194 php_stream_close(fp); in phar_parse_zipfile()
254 php_stream_close(fp); in phar_parse_zipfile()
567 fp->writepos = 0; in phar_parse_zipfile()
568 fp->readpos = 0; in phar_parse_zipfile()
570 fp->writepos = 0; in phar_parse_zipfile()
571 fp->readpos = 0; in phar_parse_zipfile()
667 mydata->fp = fp; in phar_parse_zipfile()
858 … if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) { in phar_zip_changed_apply_int()
860 entry->fp = NULL; in phar_zip_changed_apply_int()
1081 entry->fp = NULL; in phar_zip_changed_apply_int()
[all …]
H A Dphar.c253 phar->fp = 0; in PHP_INI_END()
441 …if (idata->fp && idata->fp != idata->phar->fp && idata->fp != idata->phar->ufp && idata->fp != ida… in phar_entry_delref()
467 …if (idata->fp && idata->fp != idata->phar->fp && idata->fp != idata->phar->ufp && idata->fp != ida… in phar_entry_remove()
485 if (fp) {\
1218 mydata->fp = fp;
1230 fp = NULL;
1372 if (fp) {
1529 if (!fp) {
2323 if (!fp) {
2355 php_stream *fp = idata->fp; local
[all …]
/PHP-7.3/ext/standard/tests/streams/
H A Dstream_get_meta_data_file_error.phpt5 /* Prototype : proto array stream_get_meta_data(resource fp)
20 $fp = null;
22 var_dump( stream_get_meta_data($fp, $extra_arg) );
25 $fp = null;
26 var_dump(stream_get_meta_data($fp));
29 $fp = fopen(__FILE__, 'r');
30 fclose($fp);
31 var_dump(stream_get_meta_data($fp));
H A Dstream_get_meta_data_file_variation4.phpt8 $fp = fopen('File://' . $filename, 'w+');
10 var_dump(stream_get_meta_data($fp));
12 fclose($fp);
20 $fp = fopen($relative_filename, 'r');
21 var_dump(stream_get_meta_data($fp));
23 fclose($fp);
/PHP-7.3/ext/hash/tests/
H A Dhash_update_stream.phpt11 $fp = tmpfile();
12 fwrite($fp, 'The quick brown fox jumped over the lazy dog.');
13 rewind($fp);
16 hash_update_stream($ctx, $fp);
/PHP-7.3/ext/zlib/tests/
H A Dcompress_zlib_wrapper.phpt12 $fp = fopen("compress.zlib://{$pfx}ext/xsl/tests/xslt.xsl.gz", "rb");
13 fclose($fp);
16 $fp = fopen("compress.zlib://". dirname(__FILE__). "/../../../ext/xsl/tests/xslt.xsl.gz", "rb");
17 fclose($fp);
/PHP-7.3/win32/build/
H A Dmkdist.php161 $fp = fopen($dest, "w");
162 fwrite($fp, $text);
163 fclose($fp);
178 $fp = gzopen($tarball, 'rb');
183 $hdr_data = gzread($fp, 512);
219 gzseek($fp, gztell($fp) + $size);
278 fwrite($fp, <<<EOT
293 fprintf($fp, "%s\r\n", $ext);
295 fwrite($fp, "\r\n\r\n");
308 fwrite($fp, "\r\n");
[all …]
/PHP-7.3/ext/curl/tests/
H A Dbug45161.phpt18 $fp = fopen(PHP_OS_FAMILY === 'Windows' ? 'nul' : '/dev/null', 'w');
24 curl_setopt($ch, CURLOPT_FILE, $fp);
33 curl_setopt($ch, CURLOPT_FILE, $fp);
42 fclose($fp);
43 unset($fp);
/PHP-7.3/Zend/tests/
H A Dhalt02.phpt6 $fp = fopen(__FILE__, "r");
7 fseek($fp, __COMPILER_HALT_OFFSET__+1);
8 print fread($fp, 1000);
/PHP-7.3/ext/standard/tests/file/
H A Dbug38450.phpt89 $fp = fopen("var://myvar", "r+");
91 fwrite($fp, "line1\n");
92 fwrite($fp, "line2\n");
93 fwrite($fp, "line3\n");
95 rewind($fp);
96 while (!feof($fp)) {
97 echo fgets($fp);
99 fclose($fp);
H A Dbug38450_1.phpt89 $fp = fopen("var://myvar", "r+");
91 fwrite($fp, "line1\n");
92 fwrite($fp, "line2\n");
93 fwrite($fp, "line3\n");
95 rewind($fp);
96 while (!feof($fp)) {
97 echo fgets($fp);
99 fclose($fp);

Completed in 42 milliseconds

12345678910>>...37