Home
last modified time | relevance | path

Searched refs:file_get_contents (Results 26 – 50 of 371) sorted by relevance

12345678910>>...15

/PHP-5.5/ext/standard/tests/file/
H A Dfile_get_contents_variation1.phpt2 Test file_get_contents() function : variation - include path testing
7 /* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource conte…
13 echo "*** Testing file_get_contents() : variation ***\n";
41 $line = file_get_contents($filename, true);
49 *** Testing file_get_contents() : variation ***
H A Dfile_get_contents_variation2.phpt2 Test file_get_contents() function : variation - include path testing
7 /* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource conte…
13 echo "*** Testing file_get_contents() : variation ***\n";
42 $line = file_get_contents($filename, true);
50 *** Testing file_get_contents() : variation ***
H A Dfile_get_contents_file_put_contents_variation2.phpt2 Test file_get_contents() and file_put_contents() functions : usage variations - use_include_path
6 /* Prototype: string file_get_contents( string $filename[, bool $use_include_path[,
32 var_dump( file_get_contents($filename, 0) );
33 var_dump( file_get_contents($filename, 1) );
34 var_dump( file_get_contents($filename, 0, NULL, 5) );
35 var_dump( file_get_contents($filename, 1, NULL, 5) );
36 var_dump( file_get_contents($filename, 0, NULL, 5, 20) );
37 var_dump( file_get_contents($filename, 1, NULL, 5, 20) );
H A Dfile_get_contents_variation7-win32.phpt2 Test file_get_contents() function : variation - various absolute and relative paths
12 /* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource conte…
18 echo "*** Testing file_get_contents() : variation ***\n";
60 var_dump(file_get_contents($dir."\\".$filename));
71 *** Testing file_get_contents() : variation ***
87 Warning: file_get_contents(%sfileGetContentsVar7.dir\fileGetContentsVar7Sub\..\\\fileGetContentsVar…
92 Warning: file_get_contents(%sfileGetContentsVar7.dir\fileGetContentsVar7Sub\BADDIR\FileGetContentsV…
109 Warning: file_get_contents(BADDIR\FileGetContentsVar7.tmp): failed to open stream: No such file or …
H A Dfile_get_contents_variation3.phpt2 Test file_get_contents() function : usage variation - different type for use_include_path
7 /* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource conte…
13 echo "*** Testing file_get_contents() : usage variation ***\n";
116 var_dump( file_get_contents($absFile, $value) );
124 *** Testing file_get_contents() : usage variation ***
154 Error: 2 - file_get_contents() expects parameter 2 to be boolean, array given, %s(%d)
158 Error: 2 - file_get_contents() expects parameter 2 to be boolean, array given, %s(%d)
162 Error: 2 - file_get_contents() expects parameter 2 to be boolean, array given, %s(%d)
166 Error: 2 - file_get_contents() expects parameter 2 to be boolean, array given, %s(%d)
206 Error: 2 - file_get_contents() expects parameter 2 to be boolean, object given, %s(%d)
[all …]
H A Dbug43353-win32.phpt15 var_dump(file_get_contents('data:text/plain,foo'));
16 var_dump(file_get_contents('datafoo:text/plain,foo'));
24 Warning: file_get_contents(datafoo:text/plain,foo): failed to open stream: Invalid argument in %s
H A Dbug43353.phpt15 var_dump(file_get_contents('data:text/plain,foo'));
16 var_dump(file_get_contents('datafoo:text/plain,foo'));
24 Warning: file_get_contents(datafoo:text/plain,foo): failed to open stream: No such file or director…
H A Dfile_get_contents_variation9.phpt2 Test file_get_contents() function : variation - linked files
12 /* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource conte…
18 echo "*** Testing file_get_contents() : variation ***\n";
38 var_dump(file_get_contents($chainlink));
39 var_dump(file_get_contents($softlink));
40 var_dump(file_get_contents($hardlink));
50 *** Testing file_get_contents() : variation ***
H A Dstream_rfc2397_003.phpt24 var_dump(file_get_contents(dirname(__FILE__) . '/' . $original) == file_get_contents($stream));
26 var_dump(file_get_contents($stream));
/PHP-5.5/ext/phar/tests/
H A Dphar_oo_compressallbz2.phpt24 var_dump(file_get_contents($pname . '/a'));
26 var_dump(file_get_contents($pname . '/b'));
28 var_dump(file_get_contents($pname . '/c'));
33 var_dump(file_get_contents($pname . '/a'));
36 var_dump(file_get_contents($pname . '/b'));
39 var_dump(file_get_contents($pname . '/c'));
H A Dphar_oo_compressallgz.phpt24 var_dump(file_get_contents($pname . '/a'));
26 var_dump(file_get_contents($pname . '/b'));
28 var_dump(file_get_contents($pname . '/c'));
33 var_dump(file_get_contents($pname . '/a'));
36 var_dump(file_get_contents($pname . '/b'));
39 var_dump(file_get_contents($pname . '/c'));
H A Drename.phpt21 echo file_get_contents($pname . '/a') . "\n";
23 echo file_get_contents($pname . '/b') . "\n";
24 echo file_get_contents($pname . '/a') . "\n";
32 Warning: file_get_contents(phar://%srename.phar.php/a): failed to open stream: phar error: "a" is n…
H A Drename_dir.phpt22 echo file_get_contents($pname . '/a/x') . "\n";
24 echo file_get_contents($pname . '/b/x') . "\n";
25 echo file_get_contents($pname . '/a/x') . "\n";
33 Warning: file_get_contents(phar://%srename_dir.phar.php/a/x): failed to open stream: phar error: "a…
H A D023.phpt2 Phar: phar:// file_get_contents
20 var_dump(file_get_contents($pname . '/a.php'));
21 var_dump(file_get_contents($pname . '/b.php'));
22 var_dump(file_get_contents($pname . '/b/c.php'));
/PHP-5.5/ext/phar/tests/zip/
H A Dphar_oo_compressallbz2.phpt20 var_dump(file_get_contents($pname . '/a'));
22 var_dump(file_get_contents($pname . '/b'));
24 var_dump(file_get_contents($pname . '/c'));
28 var_dump(file_get_contents($pname . '/a'));
31 var_dump(file_get_contents($pname . '/b'));
34 var_dump(file_get_contents($pname . '/c'));
40 var_dump(file_get_contents($pname2 . '/a'));
H A Drename_dir.phpt23 echo file_get_contents($alias . '/a/x') . "\n";
25 echo file_get_contents($alias . '/b/x') . "\n";
26 echo file_get_contents($alias . '/a/x') . "\n";
34 Warning: file_get_contents(phar://%srename_dir.phar.zip/a/x): failed to open stream: phar error: "a…
H A Drename.phpt23 echo file_get_contents($alias . '/a') . "\n";
25 echo file_get_contents($alias . '/b') . "\n";
26 echo file_get_contents($alias . '/a') . "\n";
34 Warning: file_get_contents(phar://%srename.phar.zip/a): failed to open stream: phar error: "a" is n…
H A Dphar_copy.phpt26 echo file_get_contents($p['b']->getPathName());
29 echo file_get_contents($p['c']->getPathName());
42 echo 'a: ' , file_get_contents($p2['a']->getPathName());
43 echo 'b: ' ,file_get_contents($p2['b']->getPathName());
44 echo 'c: ' ,file_get_contents($p2['c']->getPathName());
/PHP-5.5/ext/zip/tests/
H A Doo_extract.phpt31 echo file_get_contents($dirname . '__oo_extract_tmp/foobar/baz') . "\n";
37 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n";
43 echo file_get_contents($dirname . '__oo_extract_tmp/foo') . "\n";
52 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n";
60 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n";
65 echo file_get_contents($dirname . '__oo_extract_tmp/foo') . "\n";
/PHP-5.5/ext/pcre/
H A Dupgrade-pcre.php65 if (file_get_contents($newfile) !== file_get_contents($file)) {
70 $content = file_get_contents($newfile);
132 file_put_contents('pcrelib/config.h', $prepend_config_h . file_get_contents('pcrelib/config.h'));
/PHP-5.5/ext/standard/tests/streams/
H A Dbug64433.phpt19 php_cli_server_start(file_get_contents(dirname(__FILE__).'/bug64433_srv.inc'));
21 echo file_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php");
25 echo "$code: ".file_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php?status=$code&loc=1");
35 …echo "$code: ".file_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php?status=$code&loc=1",…
45 …echo "$code: ".file_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php?status=$code&loc=1",…
/PHP-5.5/ext/phar/tests/tar/
H A Dphar_copy.phpt27 echo file_get_contents($p['b']->getPathName());
30 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());
H A Dlinks6.phpt11 echo file_get_contents('phar://' . dirname(__FILE__) . '/files/links.phar.tar/link2');
12 echo file_get_contents('phar://' . dirname(__FILE__) . '/files/links.phar.tar/link1');
13 echo file_get_contents('phar://' . dirname(__FILE__) . '/files/links.phar.tar/testit.txt');
H A Drename.phpt31 echo file_get_contents($alias . '/a') . "\n";
33 echo file_get_contents($alias . '/b') . "\n";
34 echo file_get_contents($alias . '/a') . "\n";
42 Warning: file_get_contents(phar://%srename.phar.tar/a): failed to open stream: phar error: "a" is n…
H A Drename_dir.phpt31 echo file_get_contents($alias . '/a/x') . "\n";
33 echo file_get_contents($alias . '/b/x') . "\n";
34 echo file_get_contents($alias . '/a/x') . "\n";
42 Warning: file_get_contents(phar://%srename_dir.phar.tar/a/x): failed to open stream: phar error: "a…

Completed in 30 milliseconds

12345678910>>...15