Home
last modified time | relevance | path

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

12345678910>>...21

/php-src/tests/basic/
H A Dbug67198.phpt17 exit(file_get_contents('php://input'));
37 "exit(file_get_contents('php://input'));", null,
40 var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS, false, $context));
41 var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS, false, $context));
/php-src/ext/phar/tests/
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 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'));
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 Dbug53872.phpt15 print(file_get_contents('phar://bug53872-phar.phar/first.txt'));
16 print(file_get_contents('phar://bug53872-phar.phar/second.txt'));
17 print(file_get_contents('phar://bug53872-phar.phar/third.txt'));
/php-src/ext/opcache/tests/
H A Dbug78106.phpt13 echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test1.php" );
14 echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test2.php" );
15 echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test1.php" );
/php-src/ext/standard/tests/file/
H A Dfile_get_contents_file_put_contents_variation2.phpt2 Test file_get_contents() and file_put_contents() functions : usage variations - use_include_path
23 var_dump( file_get_contents($filename, 0) );
24 var_dump( file_get_contents($filename, 1) );
25 var_dump( file_get_contents($filename, 0, NULL, 5) );
26 var_dump( file_get_contents($filename, 1, NULL, 5) );
27 var_dump( file_get_contents($filename, 0, NULL, 5, 20) );
28 var_dump( file_get_contents($filename, 1, NULL, 5, 20) );
H A Dfile_get_contents_variation7.phpt2 Test file_get_contents() function : variation - various absolute and relative paths
7 echo "*** Testing file_get_contents() : variation ***\n";
46 var_dump(file_get_contents($dir."/".$filename));
66 *** Testing file_get_contents() : variation ***
82 Warning: file_get_contents(%sfileGetContentsVar7.dir/fileGetContentsVar7Sub/..///fileGetContentsVar…
87 Warning: file_get_contents(%sfileGetContentsVar7.dir/fileGetContentsVar7Sub/BADDIR/FileGetContentsV…
104 Warning: file_get_contents(BADDIR/FileGetContentsVar7.tmp): Failed to open stream: No such file or …
H A Dfile_get_contents_error002.phpt2 file_get_contents() test using negative parameter for length (last parameter)
11 file_get_contents("http://checkip.dyndns.com",null,null,0,-1);
17 file_get_contents(): Argument #5 ($length) must be greater than or equal to 0
H A Dfile_get_contents_error.phpt2 Test file_get_contents() function : error conditions
14 print( file_get_contents("/no/such/file/or/dir") );
21 file_get_contents($file_path."/file1.tmp", FALSE, $file_handle, 0, -5);
47 Warning: file_get_contents(/no/such/file/or/dir): Failed to open stream: No such file or directory …
50 file_get_contents(): Argument #5 ($length) must be greater than or equal to 0
H A Dfile_get_contents_with_large_length.phpt2 Test file_get_contents() function with large length parameter
13 $result = file_get_contents($file_path, length: 500000000);
17 $result = file_get_contents($file_path, length: 40000);
H A Dbug43353.phpt10 var_dump(file_get_contents('data:text/plain,foo'));
11 var_dump(file_get_contents('datafoo:text/plain,foo'));
19 Warning: file_get_contents(datafoo:text/plain,foo): Failed to open stream: No such file or director…
H A Dfile_get_contents_variation1.phpt2 Test file_get_contents() function : variation - include path testing
7 echo "*** Testing file_get_contents() : variation ***\n";
33 $line = file_get_contents($filename, true);
46 *** Testing file_get_contents() : variation ***
H A Dfile_get_contents_variation2.phpt2 Test file_get_contents() function : variation - include path testing
7 echo "*** Testing file_get_contents() : variation ***\n";
34 $line = file_get_contents($filename, true);
47 *** Testing file_get_contents() : variation ***
H A Dfile_get_contents_variation7-win32-mb.phpt2 Test file_get_contents() function : variation - various absolute and relative paths
12 echo "*** Testing file_get_contents() : variation ***\n";
54 var_dump(file_get_contents($dir."\\".$filename));
74 *** Testing file_get_contents() : variation ***
90 Warning: file_get_contents(%sfileGetContentsVar7私はガラスを食べられます.dir\fileGetContentsVar7Sub私はガラスを食べられます…
95 Warning: file_get_contents(%sfileGetContentsVar7私はガラスを食べられます.dir\fileGetContentsVar7Sub私はガラスを食べられます…
112 Warning: file_get_contents(BADDIR\FileGetContentsVar7.tmp): Failed to open stream: No such file or …
H A Dfile_get_contents_variation7-win32.phpt2 Test file_get_contents() function : variation - various absolute and relative paths
12 echo "*** Testing file_get_contents() : variation ***\n";
54 var_dump(file_get_contents($dir."\\".$filename));
74 *** Testing file_get_contents() : variation ***
90 Warning: file_get_contents(%sfileGetContentsVar7.dir\fileGetContentsVar7Sub\..\\\fileGetContentsVar…
95 Warning: file_get_contents(%sfileGetContentsVar7.dir\fileGetContentsVar7Sub\BADDIR\FileGetContentsV…
112 Warning: file_get_contents(BADDIR\FileGetContentsVar7.tmp): Failed to open stream: No such file or …
H A Dfile_get_contents_file_put_contents_error.phpt11 print( file_get_contents("/no/such/file/or/dir") );
16 file_get_contents($file_path."/file_put_contents_error1.tmp", FALSE, NULL, 0, -5);
34 Warning: file_get_contents(/no/such/file/or/dir): Failed to open stream: No such file or directory …
37 file_get_contents(): Argument #5 ($length) must be greater than or equal to 0
/php-src/ext/phar/tests/tar/
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());
H A Dlinks6.phpt9 echo file_get_contents('phar://' . __DIR__ . '/files/links.phar.tar/link2');
10 echo file_get_contents('phar://' . __DIR__ . '/files/links.phar.tar/link1');
11 echo file_get_contents('phar://' . __DIR__ . '/files/links.phar.tar/testit.txt');
/php-src/ext/phar/tests/zip/
H A Dphar_copy.phpt25 echo file_get_contents($p['b']->getPathName());
28 echo file_get_contents($p['c']->getPathName());
41 echo 'a: ' , file_get_contents($p2['a']->getPathName());
42 echo 'b: ' ,file_get_contents($p2['b']->getPathName());
43 echo 'c: ' ,file_get_contents($p2['c']->getPathName());
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 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…
/php-src/sapi/cli/tests/
H A Dbug69655.phpt16 file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS, false, $context);
20 Warning: file_get_contents(http://localhost:%d): Failed to open stream: HTTP request failed! HTTP/1…
23 Warning: file_get_contents(http://localhost:%d): Failed to open stream: HTTP request failed! HTTP/1…
26 Warning: file_get_contents(http://localhost:%d): Failed to open stream: HTTP request failed! HTTP/1…
/php-src/ext/standard/tests/streams/
H A Dbug64433.phpt15 php_cli_server_start(file_get_contents(__DIR__.'/bug64433_srv.inc'));
17 echo file_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php");
21 …echo "$code: ".file_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php?status=$code&loc=1");
31 …echo "$code: ".file_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php?status=$code&loc=1",…
41 …echo "$code: ".file_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php?status=$code&loc=1",…
/php-src/ext/openssl/tests/
H A Dbug74022_2.phpt13 $cert = file_get_contents(__DIR__ . "/public.crt");
14 $priv = file_get_contents(__DIR__ . "/private.crt");
15 $extracert = file_get_contents(__DIR__ . "/cert.crt");

Completed in 23 milliseconds

12345678910>>...21