/PHP-5.5/ext/standard/tests/strings/ |
H A D | vfprintf_variation3.phpt | 49 if (!($fp = fopen($data_file, 'wt'))) 54 fprintf($fp, "\n-- Iteration %d --\n",$counter); 55 vfprintf($fp, $format, $args_array[$counter-1]); 59 fclose($fp);
|
H A D | vfprintf_variation9.phpt | 45 if (!($fp = fopen($data_file, 'wt'))) 52 fprintf($fp, "\n-- Iteration %d --\n",$counter); 53 vfprintf($fp, $format, $args_array[$counter-1]); 57 fclose($fp);
|
H A D | vfprintf_variation15.phpt | 42 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 D | vfprintf_variation15_64bit.phpt | 42 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 D | vfprintf_variation5.phpt | 46 if (!($fp = fopen($data_file, 'wt'))) 53 fprintf($fp, "\n-- Iteration %d --\n",$counter); 54 vfprintf($fp, $format, $args_array[$counter-1]); 58 fclose($fp);
|
H A D | vfprintf_variation17.phpt | 38 if (!($fp = fopen($data_file, 'wt'))) 45 fprintf($fp, "\n-- Iteration %d --\n",$counter); 46 vfprintf($fp, $format, $args_array[$counter-1]); 50 fclose($fp);
|
H A D | sprintf_variation5.phpt | 13 $fp = fopen (__FILE__, "r"); 16 $fp_copy = $fp; 43 fclose($fp);
|
H A D | vfprintf_variation13_64bit.phpt | 49 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 D | vfprintf_variation13.phpt | 49 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);
|
/PHP-5.5/Zend/tests/ |
H A D | 017.phpt | 8 $fp = fopen(__FILE__, "r"); 9 var_dump(get_resource_type($fp)); 10 fclose($fp); 11 var_dump(get_resource_type($fp));
|
H A D | offset_bool.phpt | 16 $fp = fopen(__FILE__, "r"); 17 var_dump($bool[$fp]);
|
H A D | offset_long.phpt | 16 $fp = fopen(__FILE__, "r"); 17 var_dump($long[$fp]);
|
H A D | offset_null.phpt | 16 $fp = fopen(__FILE__, "r"); 17 var_dump($null[$fp]);
|
H A D | bug41421.phpt | 16 $fp = fopen("wrap://...", "r"); 17 feof($fp);
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | fseek_ftell_rewind_error1.phpt | 23 $fp = fopen(__FILE__, "r"); 24 var_dump( fseek($fp) ); 25 var_dump( fseek($fp, 10, $fp,10) ); 45 fclose($fp); 46 var_dump(fseek($fp,10));
|
H A D | fgetcsv.phpt | 31 $fp = fopen($file, "w"); 32 fwrite($fp, $v . "\n"); 33 fclose($fp);
|
H A D | fgetc_error.phpt | 17 $fp = fopen(__FILE__, "r"); 18 var_dump( fgetc($fp, $fp) ); 19 fclose($fp);
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | local_infile_tools.inc | 53 if (!$fp = fopen($file, 'w')) { 63 if (!fwrite($fp, (binary)"'97';'x';\n") || 64 !fwrite($fp, (binary)"'98';'y';\n") || 65 !fwrite($fp, (binary)"99;'z';\n")) { 71 if (!fwrite($fp, "97;'x';\n") || 72 !fwrite($fp, "98;'y';\n") || 73 !fwrite($fp, "99;'z';\n")) { 80 fclose($fp);
|
/PHP-5.5/ext/session/tests/ |
H A D | save_handler.inc | 31 if ($fp = fopen($session_file, "w")) { 32 $return = fwrite($fp, $session_data); 33 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/ext/ereg/regex/ |
H A D | split.c | 20 register char **fp = fields; local 44 *fp++ = p; 68 *fp++ = p; 72 if (trimtrail && **(fp-1) == '\0') 112 *fp++ = p;
|
/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_free_result.phpt | 31 if ($fp = fopen($tmpname, 'w')) { 32 if (false !== ($tmp = @mysql_free_result($fp))) 34 fclose($fp);
|
/PHP-5.5/ext/opcache/tests/ |
H A D | php_cli_server.inc | 27 while (($i++ < 30) && !($fp = @fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT))) { 31 if ($fp) { 32 fclose($fp);
|
/PHP-5.5/ext/spl/tests/ |
H A D | bug62978.phpt | 23 $fp = fopen(__FILE__, 'r'); 24 var_dump($a[$fp]); 26 fclose($fp);
|
/PHP-5.5/ext/dba/ |
H A D | dba.c | 419 if (info->fp && info->fp!=info->lock.fp) { in dba_close() 421 php_stream_pclose(info->fp); in dba_close() 423 php_stream_close(info->fp); in dba_close() 426 if (info->lock.fp) { in dba_close() 430 php_stream_close(info->lock.fp); in dba_close() 845 if (!info->lock.fp) { in php_dba_open() 859 if (!info->lock.fp) { in php_dba_open() 861 if (info->lock.fp) { in php_dba_open() 879 if (!info->lock.fp) { in php_dba_open() 896 info->fp = info->lock.fp; /* use the same stream for locking and database access */ in php_dba_open() [all …]
|