/php-src/ext/standard/tests/file/ |
H A D | fstat_variation8.phpt | 7 $fp = fopen (__FILE__, 'r'); 8 $fstat_result = fstat($fp); 9 fclose($fp);
|
H A D | rename_variation3-win32.phpt | 22 $fp = fopen($filename, "w"); 23 if (!$fp) { 26 fclose($fp); 42 $fp = fopen($filename, "w"); 43 fclose($fp);
|
H A D | readfile_variation1.phpt | 20 $fp = fopen($filename, "w"); 21 fill_file($fp, "text_with_new_line", 50); 22 fclose($fp);
|
/php-src/ext/zlib/tests/ |
H A D | zlib_wrapper_level.phpt | 19 $fp = fopen("compress.zlib://$filename", 'w', false, $ctx); 21 fwrite($fp, $thisfile); 23 fclose($fp);
|
/php-src/ext/opcache/tests/ |
H A D | php_cli_server.inc | 28 $fp = @fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT); 35 if ($fp) { 41 if ($fp) { 42 fclose($fp);
|
/php-src/ext/curl/tests/ |
H A D | curl_write_file.phpt | 16 $fp = fopen($log_file, 'w+'); 17 fwrite($fp, "test"); 18 fclose($fp);
|
/php-src/ext/standard/tests/strings/ |
H A D | str_replace_basic.phpt | 22 $fp = fopen( __FILE__, "r" ); 23 $fp_copy = $fp; 30 fclose($fp);
|
H A D | vfprintf_error4.phpt | 11 $fp = fopen( $file, "a+" ); 20 var_dump( vfprintf( $fp, 'Foo %$c-0202Sd', array( 2 ) ) ); 25 fclose( $fp );
|
/php-src/ext/standard/tests/streams/ |
H A D | bug51056.phpt | 26 $fp = fsockopen("tcp://127.0.0.1:64324"); 28 while (!feof($fp)) { 29 $data = fread($fp, 256);
|
/php-src/sapi/cli/tests/ |
H A D | bug43177.phpt | 41 $fp = php_cli_server_connect(); 42 if(fwrite($fp, <<<HEADER 49 while (!feof($fp)) { 50 echo fgets($fp);
|
H A D | php_cli_server_021.phpt | 13 $fp = php_cli_server_connect(); 15 if(fwrite($fp, <<<HEADER 23 fpassthru($fp);
|
/php-src/ext/phar/tests/ |
H A D | open_for_write_newfile.phpt | 20 $fp = fopen($pname . '/b/new.php', 'wb'); 21 fwrite($fp, 'extra'); 22 fclose($fp);
|
H A D | 021.phpt | 25 $fp = fopen('phar://hio/a', 'r'); 26 var_dump(fstat($fp)); 27 fclose($fp);
|
/php-src/ext/phar/tests/tar/ |
H A D | open_for_write_existing.phpt | 29 $fp = fopen($alias . '/b/c.php', 'wb'); 30 fwrite($fp, 'extra'); 31 fclose($fp);
|
H A D | open_for_write_newfile.phpt | 29 $fp = fopen($alias . '/b/new.php', 'wb'); 30 fwrite($fp, 'extra'); 31 fclose($fp);
|
/php-src/ext/phar/tests/zip/ |
H A D | open_for_write_existing.phpt | 28 $fp = fopen($alias . '/b/c.php', 'wb'); 29 fwrite($fp, 'extra'); 30 fclose($fp);
|
H A D | open_for_write_newfile.phpt | 28 $fp = fopen($alias . '/b/new.php', 'wb'); 29 fwrite($fp, 'extra'); 30 fclose($fp);
|
/php-src/ext/json/tests/ |
H A D | bug73254.phpt | 8 $fp = fopen('php://temp', 'r'); 9 $data = ['a' => $fp];
|
/php-src/Zend/tests/function_arguments/ |
H A D | argument_count_correct.phpt | 15 $fp = fopen(__FILE__, "r"); 16 fclose($fp);
|
H A D | argument_count_correct_strict.phpt | 15 $fp = fopen(__FILE__, "r"); 16 fclose($fp);
|
/php-src/ext/dba/libcdb/ |
H A D | cdb_make.c | 40 return php_stream_write(c->fp, buf, sz) == sz ? 0 : -1; in cdb_make_write() 63 c->fp = f; in cdb_make_start() 69 return php_stream_tell(c->fp); in cdb_make_start() 227 if (php_stream_flush(c->fp) != 0) in cdb_make_finish() 229 php_stream_rewind(c->fp); in cdb_make_finish() 230 if (php_stream_tell(c->fp) != 0) in cdb_make_finish() 234 return php_stream_flush(c->fp); in cdb_make_finish()
|
H A D | cdb.h | 27 php_stream *fp; member 40 void cdb_init(struct cdb *, php_stream *fp);
|
/php-src/Zend/tests/ |
H A D | strict_001.phpt | 8 $fp = fopen(__FILE__, 'r'); 12 var_dump($array[$fp]);
|
/php-src/ext/libxml/tests/ |
H A D | bug63389.phpt | 7 $fp = fopen("php://input", "r"); 8 libxml_set_streams_context($fp);
|
/php-src/ext/standard/tests/filters/ |
H A D | bug22538.phpt | 18 $fp = fopen($path1, "w") or die("Cannot open $path1\n"); 23 fwrite($fp, $str); 26 fclose($fp);
|