Home
last modified time | relevance | path

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

12345678910>>...21

/php-src/ext/standard/tests/filters/
H A Dobject_init_failure.phpt10 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/phar/tests/tar/
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…
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-src/ext/standard/tests/file/
H A Dopen_basedir_cwd_resolve.phpt8 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 Dstream_rfc2397_003.phpt24 var_dump(file_get_contents(__DIR__ . '/' . $original) == file_get_contents($stream));
26 var_dump(file_get_contents($stream));
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
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 Dfile_get_contents_variation9.phpt2 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 Dfile_get_contents_error001.phpt2 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 Dbug76342.phpt2 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 Dgh11274.phpt2 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 Dbug60570.phpt26 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/
H A Dbug69279a.phpt11 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 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…
/php-src/scripts/gdb/
H A Ddebug_gdb_scripts_gen.php10 $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 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-src/ext/dom/tests/modern/html/encoding/
H A DHTMLDocument_createFromString_override_encoding.phpt9 …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/dom/tests/modern/xml/
H A DXMLDocument_createFromString_override_encoding.phpt9 …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/openssl/tests/
H A Dopenssl_pkcs12_export_to_file_error.phpt10 $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 Dmail_basic6.phpt27 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 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-src/ext/opcache/tests/
H A Dissue0149.phpt31 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');

Completed in 29 milliseconds

12345678910>>...21