/PHP-5.5/win32/build/ |
H A D | mkdist.php | 145 $fp = fopen($dest, "w"); 146 fwrite($fp, $text); 147 fclose($fp); 162 $fp = gzopen($tarball, 'rb'); 167 $hdr_data = gzread($fp, 512); 203 gzseek($fp, gztell($fp) + $size); 262 fwrite($fp, <<<EOT 277 fprintf($fp, "%s\r\n", $ext); 279 fwrite($fp, "\r\n\r\n"); 292 fwrite($fp, "\r\n"); [all …]
|
/PHP-5.5/tests/strings/ |
H A D | 002.phpt | 7 $fp = fopen("php://stdout", "w") or die("Arrggsgg!!"); 8 $x = fprintf($fp, "fprintf test 1:%.5s", "abcdefghij");
|
/PHP-5.5/ |
H A D | server-tests.php | 953 $fp = fopen("php://stdin", "r+"); 958 $user_input = fgets($fp, 10); 973 $fp = fopen("php://stdin", "r+"); 1035 $fp = fopen($output_file, "w"); 1036 fwrite($fp, $failed_tests_data); 1037 fclose($fp); 1044 fclose($fp); 1148 $fp = @fopen($file, "r") 1152 while (!feof($fp)) { 1153 $line = fgets($fp); [all …]
|
/PHP-5.5/sapi/thttpd/ |
H A D | thttpd_patch | 396 fp = fopen( filename, "r" ); 397 if ( fp == (FILE*) 0 ) 403 r = fread( buf, 1, sizeof(buf) - 1, fp );
|
/PHP-5.5/sapi/webjames/ |
H A D | webjames.c | 169 FILE *fp=NULL; in webjames_module_main() local
|
/PHP-5.5/sapi/fpm/tests/ |
H A D | 003.phpt | 29 while (($i++ < 30) && !($fp = fsockopen('[::1]', 9000))) { 32 if ($fp) { 34 fclose($fp);
|
/PHP-5.5/sapi/isapi/stresstest/ |
H A D | stresstest.cpp | 157 FILE *fp; in CompareStringWithFile() local 179 if (feof(fp)) { in CompareStringWithFile() 184 fclose(fp); in CompareStringWithFile() 195 if (fp) { in ReadGlobalEnvironment() 205 fclose(fp); in ReadGlobalEnvironment() 214 FILE *fp = fopen(filelist, "r"); in ReadFileList() local 215 if (!fp) { in ReadFileList() 247 fclose(fp); in ReadFileList() 308 FILE *fp = fopen(filename, "rb"); in ParseTestFile() local 313 if (fp && ft && fe) { in ParseTestFile() [all …]
|
/PHP-5.5/sapi/litespeed/ |
H A D | lsapi_main.c | 549 FILE * fp; in lsapi_fopen_primary_script() local 551 fp = fopen( SG(request_info).path_translated, "rb" ); in lsapi_fopen_primary_script() 552 if ( !fp ) in lsapi_fopen_primary_script() 557 file_handle->handle.fp = fp; in lsapi_fopen_primary_script() 878 file_handle.handle.fp = VCWD_FOPEN(*p, "rb"); in cli_main() 880 if ( file_handle.handle.fp ) { in cli_main() 889 fclose( file_handle.handle.fp ); in cli_main()
|
H A D | lsapilib.c | 2438 int LSAPI_Init_Prefork_Server( int max_children, fn_select_t fp, int avoidFork ) in LSAPI_Init_Prefork_Server() argument 2454 if ( fp != NULL ) in LSAPI_Init_Prefork_Server() 2455 g_fnSelect = fp; in LSAPI_Init_Prefork_Server() 3153 int LSAPI_Init_Env_Parameters( fn_select_t fp ) in LSAPI_Init_Env_Parameters() argument 3224 LSAPI_Init_Prefork_Server( n, fp, avoidFork ); in LSAPI_Init_Env_Parameters()
|
H A D | lsapilib.h | 358 int LSAPI_Init_Prefork_Server( int max_children, fn_select_t fp, int avoidFork ); 376 int LSAPI_Init_Env_Parameters( fn_select_t fp );
|
/PHP-5.5/sapi/milter/ |
H A D | php_milter.c | 136 if (!(file_handle.handle.fp = VCWD_FOPEN(filename, "rb"))) { in ZEND_DECLARE_MODULE_GLOBALS() 202 if (!(file_handle.handle.fp = VCWD_FOPEN(filename, "rb"))) { in mlfi_connect()
|
/PHP-5.5/sapi/cli/tests/ |
H A D | bug43177.phpt | 39 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 40 if (!$fp) { 44 if(fwrite($fp, <<<HEADER 51 while (!feof($fp)) { 52 echo fgets($fp);
|
H A D | bug61679.phpt | 18 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 19 if (!$fp) { 25 if(fwrite($fp, <<<HEADER 32 while (!feof($fp)) { 33 echo fgets($fp); 40 fclose($fp);
|
H A D | bug61977.phpt | 22 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 23 if (!$fp) die('Connect failed'); 31 if (fwrite($fp, $header)) { 32 while (!feof($fp)) { 33 $text = fgets($fp); 39 fclose($fp);
|
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 | 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 | bug65633.phpt | 18 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 19 if (!$fp) { 23 if(fwrite($fp, <<<HEADER 31 while (!feof($fp)) { 32 echo fgets($fp); 36 fclose($fp);
|
H A D | bug66830.phpt | 18 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 19 if (!$fp) { 23 if(fwrite($fp, <<<HEADER 30 while (!feof($fp)) { 31 echo fgets($fp); 35 fclose($fp);
|
H A D | bug67429.phpt | 20 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 21 if (!$fp) { 25 if(fwrite($fp, <<<HEADER 31 while (!feof($fp)) { 32 echo fgets($fp); 36 fclose($fp);
|
H A D | bug68745.phpt | 15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 16 if (!$fp) { 20 if(fwrite($fp, "GET www.example.com:80 HTTP/1.1\r\n\r\n")) { 21 while (!feof($fp)) { 22 echo fgets($fp); 26 fclose($fp);
|
H A D | php_cli_server.inc | 40 while (($i++ < 30) && !($fp = @fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT))) { 44 if ($fp) { 45 fclose($fp);
|
H A D | php_cli_server_004.phpt | 17 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 18 if (!$fp) { 22 if(fwrite($fp, <<<HEADER 32 while (!feof($fp)) { 33 echo fgets($fp);
|
H A D | php_cli_server_005.phpt | 15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 16 if (!$fp) { 34 if(fwrite($fp, <<<HEADER 44 while (!feof($fp)) { 45 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);
|