Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 25 of 909) sorted by last modified time

12345678910>>...37

/PHP-5.5/win32/build/
H A Dmkdist.php145 $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 D002.phpt7 $fp = fopen("php://stdout", "w") or die("Arrggsgg!!");
8 $x = fprintf($fp, "fprintf test 1:%.5s", "abcdefghij");
/PHP-5.5/
H A Dserver-tests.php953 $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 Dthttpd_patch396 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 Dwebjames.c169 FILE *fp=NULL; in webjames_module_main() local
/PHP-5.5/sapi/fpm/tests/
H A D003.phpt29 while (($i++ < 30) && !($fp = fsockopen('[::1]', 9000))) {
32 if ($fp) {
34 fclose($fp);
/PHP-5.5/sapi/isapi/stresstest/
H A Dstresstest.cpp157 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 Dlsapi_main.c549 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 Dlsapilib.c2438 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 Dlsapilib.h358 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 Dphp_milter.c136 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 Dbug43177.phpt39 $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 Dbug61679.phpt18 $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 Dbug61977.phpt22 $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 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 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 Dbug65633.phpt18 $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 Dbug66830.phpt18 $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 Dbug67429.phpt20 $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 Dbug68745.phpt15 $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 Dphp_cli_server.inc40 while (($i++ < 30) && !($fp = @fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT))) {
44 if ($fp) {
45 fclose($fp);
H A Dphp_cli_server_004.phpt17 $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 Dphp_cli_server_005.phpt15 $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 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);

Completed in 82 milliseconds

12345678910>>...37