/php-src/ext/standard/tests/filters/ |
H A D | object_init_failure.phpt | 10 var_dump(file_get_contents('php://filter/read=sample.filter/resource='. __FILE__)); 16 Warning: file_get_contents(): Unable to create or locate filter "sample.filter" in %s on line %d 18 Warning: file_get_contents(): Unable to create filter (sample.filter) in %s on line %d
|
/php-src/ext/standard/tests/file/ |
H A D | open_basedir_cwd_resolve.phpt | 8 var_dump(file_get_contents('/some/path/outside/open/basedir')); 12 Warning: file_get_contents(): open_basedir restriction in effect. File(/some/path/outside/open/base… 14 Warning: file_get_contents(/some/path/outside/open/basedir): Failed to open stream: Operation not p…
|
H A D | stream_rfc2397_003.phpt | 24 var_dump(file_get_contents(__DIR__ . '/' . $original) == file_get_contents($stream)); 26 var_dump(file_get_contents($stream));
|
H A D | bug37864.phpt | 2 Bug #37864 (file_get_contents() leaks on empty file) 6 var_dump(file_get_contents($tmpfname));
|
H A D | bug38086.phpt | 18 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 D | file_get_contents_file_put_contents_variation1.phpt | 2 Test file_get_contents() and file_put_contents() functions : usage variations - all arguments 18 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 0) ); 19 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 1) ); 20 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 0, NULL, 5) ); 21 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 1, NULL, 5) ); 22 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 0, NULL, 5, 20) ); 23 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 1, NULL, 5, 20) );
|
H A D | file_get_contents_variation9.phpt | 2 Test file_get_contents() function : variation - linked files 12 echo "*** Testing file_get_contents() : variation ***\n"; 32 var_dump(file_get_contents($chainlink)); 33 var_dump(file_get_contents($softlink)); 34 var_dump(file_get_contents($hardlink)); 50 *** Testing file_get_contents() : variation ***
|
H A D | file_get_contents_error001.phpt | 2 file_get_contents() test using offset parameter out of range 14 var_dump(file_get_contents("php://stdin",null,null,8000,1));
|
/php-src/ext/standard/tests/http/ |
H A D | bug76342.phpt | 2 Bug #76342 (file_get_contents waits twice specified timeout) 23 file_get_contents($uri, false, $ctx); 34 Warning: file_get_contents(http://%s:%d): Failed to open stream: HTTP request failed! in %s on line…
|
H A D | gh11274.phpt | 2 GH-11274 (POST/PATCH request via file_get_contents + stream_context_create switches to GET after a … 18 echo "method: ", $_SERVER['REQUEST_METHOD'], "; body: ", file_get_contents('php://input'), "\n"; 31 …echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/test$suffix", false, stream_context_… 32 …echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/test$suffix", false, stream_context_… 33 …echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/test/$suffix", false, stream_context… 34 …echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/test/$suffix", false, stream_context…
|
H A D | bug60570.phpt | 26 file_get_contents($uri, 0, $context); 42 Warning: file_get_contents(http://%s:%d): Failed to open stream: HTTP request failed! HTTP/1.0 404 … 45 Warning: file_get_contents(http://%s:%d): Failed to open stream: HTTP request failed! HTTP/1.0 404 … 48 Warning: file_get_contents(http://%s:%d): Failed to open stream: HTTP request failed! HTTP/1.0 404 …
|
/php-src/ext/phar/tests/tar/ |
H A D | rename.phpt | 31 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 D | rename_dir.phpt | 31 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…
|
H A D | delete.phpt | 22 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-src/ext/phar/tests/ |
H A D | bug69279a.phpt | 11 var_dump(strncmp(file_get_contents(__DIR__ . '/bug69279a/1.txt'), 'Lorem ipsum', 11)); 12 var_dump(strncmp(file_get_contents(__DIR__ . '/bug69279a/2.txt'), 'foo', 3)); 13 var_dump(strncmp(file_get_contents(__DIR__ . '/bug69279a/3.txt'), 'Lorem ipsum', 11));
|
H A D | file_get_contents.phpt | 2 Phar: test file_get_contents() interception 13 echo file_get_contents("dir/file1.txt"); 14 echo file_get_contents("file1.txt", true);
|
H A D | delete.phpt | 22 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…
|
/php-src/scripts/gdb/ |
H A D | debug_gdb_scripts_gen.php | 10 $gdbscript = file_get_contents(sprintf("%s/.gdbinit", $rootDir)); 11 $pyscript = file_get_contents(sprintf("%s/php_gdb.py", __DIR__));
|
/php-src/ext/phar/tests/zip/ |
H A D | delete.phpt | 22 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-src/ext/dom/tests/modern/xml/ |
H A D | XMLDocument_createFromString_override_encoding.phpt | 9 …Dom\XMLDocument::createFromString(file_get_contents(__DIR__ . '/dummy.xml'), overrideEncoding: 'no… 15 $dom = Dom\XMLDocument::createFromString(file_get_contents(__DIR__ . '/dummy.xml'), overrideEncodin… 20 $dom = Dom\XMLDocument::createFromString(file_get_contents(__DIR__ . '/dummy.xml'), overrideEncodin…
|
/php-src/ext/dom/tests/modern/html/encoding/ |
H A D | HTMLDocument_createFromString_override_encoding.phpt | 9 …Dom\HTMLDocument::createFromString(file_get_contents(__DIR__ . '/gb18030_without_charset.html'), o… 15 $dom = Dom\HTMLDocument::createFromString(file_get_contents(__DIR__ . '/gb18030_without_charset.htm… 20 $dom = Dom\HTMLDocument::createFromString(file_get_contents(__DIR__ . '/fallback_encoding.html'), o…
|
/php-src/ext/openssl/tests/ |
H A D | openssl_pkcs12_export_to_file_error.phpt | 10 $cert = file_get_contents($cert_file); 13 $priv = file_get_contents($priv_file); 15 $wrong_priv = file_get_contents($wrong_priv_file);
|
/php-src/ext/standard/tests/mail/ |
H A D | mail_basic6.phpt | 27 echo file_get_contents($outFile); 37 echo @file_get_contents($outFile); 48 echo @file_get_contents($outFile); 59 echo @file_get_contents($outFile); 69 echo @file_get_contents($outFile); 79 echo @file_get_contents($outFile); 89 echo @file_get_contents($outFile); 99 echo @file_get_contents($outFile); 109 echo @file_get_contents($outFile); 119 echo @file_get_contents($outFile); [all …]
|
/php-src/sapi/cli/tests/ |
H A D | php_cli_server_003.phpt | 13 var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS)); 14 var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS));
|
/php-src/ext/opcache/tests/ |
H A D | issue0149.phpt | 31 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/issue0149.phar.php'); 32 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/issue0149.phar.php'); 33 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/issue0149.phar.php');
|