/php-src/tests/basic/ |
H A D | bug67198.phpt | 17 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 D | rename.phpt | 21 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 D | 023.phpt | 2 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 D | rename_dir.phpt | 22 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 D | bug53872.phpt | 15 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 D | bug78106.phpt | 13 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 D | file_get_contents_file_put_contents_variation2.phpt | 2 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 D | file_get_contents_variation7.phpt | 2 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 D | file_get_contents_error002.phpt | 2 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 D | file_get_contents_error.phpt | 2 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 D | file_get_contents_with_large_length.phpt | 2 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 D | bug43353.phpt | 10 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 D | file_get_contents_variation1.phpt | 2 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 D | file_get_contents_variation2.phpt | 2 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 D | file_get_contents_variation7-win32-mb.phpt | 2 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 D | file_get_contents_variation7-win32.phpt | 2 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 D | file_get_contents_file_put_contents_error.phpt | 11 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 D | phar_copy.phpt | 26 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 D | links6.phpt | 9 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 D | phar_copy.phpt | 25 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 D | rename.phpt | 23 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 D | rename_dir.phpt | 23 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 D | bug69655.phpt | 16 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 D | bug64433.phpt | 15 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 D | bug74022_2.phpt | 13 $cert = file_get_contents(__DIR__ . "/public.crt"); 14 $priv = file_get_contents(__DIR__ . "/private.crt"); 15 $extracert = file_get_contents(__DIR__ . "/cert.crt");
|