/PHP-7.3/ext/openssl/tests/ |
H A D | bug72333.phpt | 16 $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 D | bug65066_100.phpt | 17 $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 D | bug71005.phpt | 21 $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 D | bug65066_422.phpt | 17 $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 D | bug65066_511.phpt | 17 $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 D | php_cli_server_006.phpt | 15 $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 D | php_cli_server_012.phpt | 17 $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 D | bug67429.phpt | 21 $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 D | php_cli_server_019.phpt | 21 $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 D | php_cli_server_007.phpt | 15 $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 D | php_cli_server_015.phpt | 21 $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 D | 003.phpt | 10 $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 D | bug35916.phpt | 31 $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 D | xml004.phpt | 12 $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 D | zip.c | 194 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 D | phar.c | 253 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 D | stream_get_meta_data_file_error.phpt | 5 /* 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 D | stream_get_meta_data_file_variation4.phpt | 8 $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 D | hash_update_stream.phpt | 11 $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 D | compress_zlib_wrapper.phpt | 12 $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 D | mkdist.php | 161 $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 D | bug45161.phpt | 18 $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 D | halt02.phpt | 6 $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 D | bug38450.phpt | 89 $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 D | bug38450_1.phpt | 89 $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);
|