Home
last modified time | relevance | path

Searched refs:file_get_contents (Results 1 – 25 of 460) sorted by relevance

12345678910>>...19

/PHP-8.0/ext/phar/tests/
H A Dfgc_edgecases.phpt18 file_get_contents(array());
25 echo file_get_contents($fname);
37 echo file_get_contents("fgc_edgecases.txt");
41 echo file_get_contents("../oops");
43 echo file_get_contents("./hi");
69 echo file_get_contents("../oops");
71 echo file_get_contents("./hi");
89 echo file_get_contents("../oops");
91 echo file_get_contents("./hi");
110 echo file_get_contents("../oops");
[all …]
H A Dphar_oo_uncompressall.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'));
44 var_dump(file_get_contents($pname . '/a'));
46 var_dump(file_get_contents($pname . '/b'));
48 var_dump(file_get_contents($pname . '/c'));
H A Dphar_oo_compressed_002.phpt24 var_dump(file_get_contents($pname . '/a'));
26 var_dump(file_get_contents($pname . '/b'));
28 var_dump(file_get_contents($pname . '/c'));
39 var_dump(file_get_contents($pname . '/a'));
41 var_dump(file_get_contents($pname . '/b'));
43 var_dump(file_get_contents($pname . '/c'));
45 var_dump(file_get_contents($pname . '/d'));
47 var_dump(file_get_contents($pname . '/e'));
H A Dphar_oo_compressed_002b.phpt24 var_dump(file_get_contents($pname . '/a'));
26 var_dump(file_get_contents($pname . '/b'));
28 var_dump(file_get_contents($pname . '/c'));
39 var_dump(file_get_contents($pname . '/a'));
41 var_dump(file_get_contents($pname . '/b'));
43 var_dump(file_get_contents($pname . '/c'));
45 var_dump(file_get_contents($pname . '/d'));
47 var_dump(file_get_contents($pname . '/e'));
H A Dphar_oo_compressed_001.phpt24 var_dump(file_get_contents($pname . '/a'));
26 var_dump(file_get_contents($pname . '/b'));
28 var_dump(file_get_contents($pname . '/c'));
38 var_dump(file_get_contents($pname . '/a'));
40 var_dump(file_get_contents($pname . '/b'));
42 var_dump(file_get_contents($pname . '/c'));
44 var_dump(file_get_contents($pname . '/d'));
H A Dphar_oo_compressed_001b.phpt24 var_dump(file_get_contents($pname . '/a'));
26 var_dump(file_get_contents($pname . '/b'));
28 var_dump(file_get_contents($pname . '/c'));
38 var_dump(file_get_contents($pname . '/a'));
40 var_dump(file_get_contents($pname . '/b'));
42 var_dump(file_get_contents($pname . '/c'));
44 var_dump(file_get_contents($pname . '/d'));
H A D016.phpt23 var_dump(file_get_contents($pname . '/a'));
24 var_dump(file_get_contents($pname . '/b'));
25 var_dump(file_get_contents($pname . '/c'));
26 var_dump(file_get_contents($pname . '/d'));
31 Warning: file_get_contents(phar://%s/a): Failed to open stream: phar error: internal corruption of …
34 Warning: file_get_contents(phar://%s/b): Failed to open stream: phar error: internal corruption of …
38 Warning: file_get_contents(phar://%s/d): Failed to open stream: phar error: internal corruption of …
H A Dphar_ctx_001.phpt24 var_dump(file_get_contents($pname . '/a'));
26 var_dump(file_get_contents($pname . '/b'));
28 var_dump(file_get_contents($pname . '/c'));
39 var_dump(file_get_contents($pname . '/a'));
42 var_dump(file_get_contents($pname . '/b'));
45 var_dump(file_get_contents($pname . '/c'));
48 var_dump(file_get_contents($pname . '/d'));
57 var_dump(file_get_contents($pname . '/b'));
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'));
/PHP-8.0/tests/security/
H A Dopen_basedir_file_get_contents.phpt9 test_open_basedir_before("file_get_contents");
10 test_open_basedir_error("file_get_contents");
12 var_dump(file_get_contents("ok.txt"));
13 var_dump(file_get_contents("../ok/ok.txt"));
14 var_dump(file_get_contents($initdir."/test/ok/ok.txt"));
15 var_dump(file_get_contents($initdir."/test/ok/../ok/ok.txt"));
17 test_open_basedir_after("file_get_contents");
25 *** Testing open_basedir configuration [file_get_contents] ***
44 Warning: file_get_contents(..): Failed to open stream: %s in %s on line %d
54 Warning: file_get_contents(/): Failed to open stream: %s in %s on line %d
[all …]
/PHP-8.0/ext/standard/tests/file/
H A Dfile_get_contents_variation8.phpt2 Test file_get_contents() function : variation - obscure filenames
15 echo "*** Testing file_get_contents() : variation ***\n";
37 var_dump(file_get_contents($names_arr[$i]));
46 *** Testing file_get_contents() : variation ***
49 Warning: file_get_contents(-1): Failed to open stream: No such file or directory in %s on line %d
53 Warning: file_get_contents(1): Failed to open stream: No such file or directory in %s on line %d
63 Warning: file_get_contents( ): Failed to open stream: No such file or directory in %s on line %d
66 ValueError: file_get_contents(): Argument #1 ($filename) must not contain any null bytes
68 TypeError: file_get_contents(): Argument #1 ($filename) must be of type string, array given
71 Warning: file_get_contents(/no/such/file/dir): Failed to open stream: No such file or directory in …
[all …]
H A Dfile_get_contents_variation8-win32.phpt2 Test file_get_contents() function : variation - obscure filenames
15 echo "*** Testing file_get_contents() : variation ***\n";
38 var_dump(file_get_contents($value));
46 *** Testing file_get_contents() : variation ***
50 Warning: file_get_contents(-1): Failed to open stream: No such file or directory in %s on line %d
55 Warning: file_get_contents(1): Failed to open stream: No such file or directory in %s on line %d
69 Warning: file_get_contents( ): Failed to open stream: Permission denied in %s on line %d
73 ValueError: file_get_contents(): Argument #1 ($filename) must not contain any null bytes
76 TypeError: file_get_contents(): Argument #1 ($filename) must be of type string, array given
80 Warning: file_get_contents(/no/such/file/dir): Failed to open stream: No such file or directory in …
[all …]
H A Dstream_rfc2397_006.phpt18 var_dump(file_get_contents($stream));
26 file_get_contents(): Argument #1 ($filename) must not contain any null bytes
27 file_get_contents(): Argument #1 ($filename) must not contain any null bytes
29 Warning: file_get_contents(data:;base64,#Zm9vYmFyIGZvb2Jhcg==): Failed to open stream: rfc2397: una…
32 Warning: file_get_contents(data:;base64,#Zm9vYmFyIGZvb2Jhc=): Failed to open stream: rfc2397: unabl…
H A Dstream_copy_to_stream.phpt17 var_dump(file_get_contents($new_file));
29 var_dump(str_replace("\r\n","\n", file_get_contents($new_file)));
31 var_dump(file_get_contents($new_file));
45 var_dump(str_replace("\r\n","\n", file_get_contents($new_file)));
47 var_dump(file_get_contents($new_file));
60 var_dump(str_replace("\r\n","\n", file_get_contents($new_file)));
62 var_dump(file_get_contents($new_file));
75 var_dump(str_replace("\r\n","\n", file_get_contents($new_file)));
77 var_dump(file_get_contents($new_file));
93 var_dump(file_get_contents($new_file));
[all …]
H A Dfile_get_contents_basic.phpt2 file_get_contents() function : basic functionality
11 echo "*** Testing the basic functionality of the file_get_contents() function ***\n";
17 var_dump( file_get_contents($file_path."/file1.tmp") );
23 var_dump( file_get_contents($file_path."/file1.tmp") );
29 *** Testing the basic functionality of the file_get_contents() function ***
H A Dfile_get_contents_file_put_contents_basic.phpt2 Test file_put_contents() and file_get_contents() functions : basic functionality
9 echo "*** Testing the basic functionality of file_put_contents() and file_get_contents() functions …
17 var_dump( file_get_contents($file_path.$file_name) );
23 var_dump( file_get_contents( $file_path.$file_name ) );
34 *** Testing the basic functionality of file_put_contents() and file_get_contents() functions ***
H A Dftruncate.phpt13 var_dump(file_get_contents($filename));
18 var_dump(file_get_contents($filename));
25 var_dump(file_get_contents($filename));
30 var_dump(file_get_contents($filename));
41 var_dump(file_get_contents($filename));
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
/PHP-8.0/sapi/cli/tests/
H A Dbug70264.phpt13 echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/..\\CREDITS");
14 echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/..%5CCREDITS");
17 Warning: file_get_contents(http://%s/..\CREDITS): Failed to open stream: HTTP request failed! HTTP/…
20 Warning: file_get_contents(http://%s/..%5CCREDITS): Failed to open stream: HTTP request failed! HTT…
/PHP-8.0/ext/phar/tests/zip/
H A Dphar_oo_compressallgz.phpt18 var_dump(file_get_contents($pname . '/a'));
20 var_dump(file_get_contents($pname . '/b'));
22 var_dump(file_get_contents($pname . '/c'));
26 var_dump(file_get_contents($pname . '/a'));
29 var_dump(file_get_contents($pname . '/b'));
32 var_dump(file_get_contents($pname . '/c'));
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'));
/PHP-8.0/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-8.0/ext/zip/tests/
H A Doo_extract.phpt30 echo file_get_contents($dirname . '__oo_extract_tmp/foobar/baz') . "\n";
36 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n";
42 echo file_get_contents($dirname . '__oo_extract_tmp/foo') . "\n";
51 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n";
59 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n";
64 echo file_get_contents($dirname . '__oo_extract_tmp/foo') . "\n";
/PHP-8.0/ext/openssl/tests/
H A Dopenssl_pkcs12_export_to_file_basic.phpt10 $cert = file_get_contents($cert_file);
13 $priv = file_get_contents($priv_file);
23 var_dump(openssl_pkcs12_read(file_get_contents($pkcsfile), $opts, $pass));
25 var_dump(openssl_pkcs12_read(file_get_contents($pkcsfile), $opts, $pass));
27 var_dump(openssl_pkcs12_read(file_get_contents($pkcsfile), $opts, $pass));
29 var_dump(openssl_pkcs12_read(file_get_contents($pkcsfile), $opts, $pass));
/PHP-8.0/tests/basic/
H A Dbug67198.phpt19 exit(file_get_contents('php://input'));
39 "exit(file_get_contents('php://input'));", null,
42 var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS, false, $context));
43 var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS, false, $context));

Completed in 37 milliseconds

12345678910>>...19