Home
last modified time | relevance | path

Searched refs:file_get_contents (Results 51 – 75 of 371) sorted by relevance

12345678910>>...15

/PHP-5.5/ext/phar/tests/
H A Dbug53872.phpt17 print(file_get_contents('phar://bug53872-phar.phar/first.txt'));
18 print(file_get_contents('phar://bug53872-phar.phar/second.txt'));
19 print(file_get_contents('phar://bug53872-phar.phar/third.txt'));
H A Dfile_get_contents.phpt2 Phar: test file_get_contents() interception
13 echo file_get_contents("dir/file1.txt");
14 echo file_get_contents("file1.txt", true);
H A Ddelete.phpt22 echo file_get_contents($pname . '/a') . "\n";
24 echo file_get_contents($pname . '/a') . "\n";
31 Warning: file_get_contents(phar://%sdelete.phar.php/a): failed to open stream: phar error: "a" is n…
H A Dphar_copy.phpt27 echo file_get_contents($p['b']->getPathName());
32 echo file_get_contents($p['c']->getPathName());
43 echo 'a: ' , file_get_contents($p2['a']->getPathName());
44 echo 'b: ' ,file_get_contents($p2['b']->getPathName());
45 echo 'c: ' ,file_get_contents($p2['c']->getPathName()), $p2['c']->getMetaData(), "\n";
H A D013.phpt18 echo file_get_contents($pname.'/a');
23 Warning: file_get_contents(phar://%s/a): failed to open stream: phar error: internal corruption of …
H A D014.phpt18 echo file_get_contents($pname.'/a');
23 Warning: file_get_contents(phar://%s/a): failed to open stream: phar error: internal corruption of …
/PHP-5.5/ext/standard/tests/file/
H A Dbug37864.phpt2 Bug #37864 (file_get_contents() leaks on empty file)
6 var_dump(file_get_contents($tmpfname));
H A Dbug38086.phpt18 var_dump(str_replace("\r\n","\n", file_get_contents($new_file)));
20 var_dump(file_get_contents($new_file));
32 var_dump(str_replace("\r\n","\n", file_get_contents($new_file)));
34 var_dump(file_get_contents($new_file));
H A Dfile_get_contents_file_put_contents_variation1.phpt2 Test file_get_contents() and file_put_contents() functions : usage variations - all arguments
6 /* Prototype: string file_get_contents( string $filename[, bool $use_include_path[,
26 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 0) );
27 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 1) );
28 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 0, NULL, 5) );
29 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 1, NULL, 5) );
30 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 0, NULL, 5, 20) );
31 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 1, NULL, 5, 20) );
H A Dbug39673.phpt2 Bug #39673 (file_get_contents causes bus error on certain offsets)
24 $r = file_get_contents($filename, false, null, $offset);
H A Dfile_get_contents_basic001.phpt2 file_get_contents() test using basic syntax
12 $var = file_get_contents($temp_filename);
H A Dbug39367.phpt19 echo file_get_contents('/tmp/1link')."\n";
24 echo file_get_contents('/tmp/1link')."\n";
/PHP-5.5/ext/standard/tests/http/
H A Dbug60570.phpt27 file_get_contents('http://127.0.0.1:12342/', 0, $context);
43 Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HT…
46 Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HT…
49 Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HT…
/PHP-5.5/ext/standard/tests/mail/
H A Dmail_basic6.phpt33 echo file_get_contents($outFile);
43 echo @file_get_contents($outFile);
54 echo @file_get_contents($outFile);
65 echo @file_get_contents($outFile);
75 echo @file_get_contents($outFile);
85 echo @file_get_contents($outFile);
95 echo @file_get_contents($outFile);
105 echo @file_get_contents($outFile);
115 echo @file_get_contents($outFile);
125 echo @file_get_contents($outFile);
[all …]
/PHP-5.5/ext/phar/tests/tar/
H A Ddelete.phpt22 echo file_get_contents($alias . '/a') . "\n";
24 echo file_get_contents($alias . '/a') . "\n";
32 Warning: file_get_contents(phar://%sdelete.phar.tar/a): failed to open stream: phar error: "a" is n…
/PHP-5.5/ext/phar/tests/zip/
H A Ddelete.phpt22 echo file_get_contents($alias . '/a') . "\n";
24 echo file_get_contents($alias . '/a') . "\n";
31 Warning: file_get_contents(phar://%sdelete.phar.zip/a): failed to open stream: phar error: "a" is n…
/PHP-5.5/sapi/cli/tests/
H A Dphp_cli_server_003.phpt13 var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS));
14 var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS));
/PHP-5.5/ext/opcache/tests/
H A Drevalidate_path_01.phpt34 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/main.php');
35 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/main.php');
38 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/main.php');
39 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/main.php');
H A Dissue0149.phpt24 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/issue0149.phar.php');
25 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/issue0149.phar.php');
26 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/issue0149.phar.php');
/PHP-5.5/win32/build/
H A Dbuildconf.js32 function file_get_contents(filename) function
83 var contents = file_get_contents(c);
213 C.Write(file_get_contents("win32/build/confutils.js"));
219 C.Write(file_get_contents("win32/build/projectgen.js"));
226 modules = file_get_contents("win32/build/config.w32");
271 C.Write(file_get_contents("win32/build/configure.tail"));
H A Dphpize.js.in41 function file_get_contents(filename) function
94 var contents = file_get_contents(c);
114 var contents = file_get_contents(c);
217 C.Write(file_get_contents(PHP_DIR + "//script//ext_deps.js"));
219 C.Write(file_get_contents(PHP_DIR + "//script//ext_pickle.js"));
222 C.Write(file_get_contents(PHP_DIR + "/script/confutils.js"));
223 C.Write(file_get_contents(PHP_DIR + "/script/config.phpize.js"));
229 C.Write(file_get_contents(PHP_DIR + "win32/build/projectgen.js"));
236 modules = file_get_contents(PHP_DIR + "/script/config.w32.phpize.in");
267 C.Write(file_get_contents(PHP_DIR + "\\script\\configure.tail"));
/PHP-5.5/ext/openssl/tests/
H A Dbug67403.phpt8 $r = openssl_x509_parse(file_get_contents(__DIR__.'/bug64802.pem'));
13 $r = openssl_x509_parse(file_get_contents(__DIR__.'/bug37820cert.pem'));
H A Dbug37820.phpt14 $priv_key = file_get_contents($file_key);
19 $pub_key = file_get_contents($file_pub);
/PHP-5.5/ext/zlib/tests/
H A Dzlib_scheme_file_get_contents_basic.phpt2 Test compress.zlib:// scheme with the file_get_contents
13 $contents = file_get_contents($srcFile);
/PHP-5.5/ext/gd/tests/
H A Dbug41442.phpt15 $str = file_get_contents(dirname(__FILE__).'/src.gd2');
27 $str2 = file_get_contents($file);

Completed in 122 milliseconds

12345678910>>...15