Home
last modified time | relevance | path

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

12345678910>>...19

/PHP-7.4/ext/phar/tests/tar/
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-7.4/ext/phar/tests/
H A Dbug53872.phpt17 print(file_get_contents('phar://bug53872-phar.phar/first.txt'));
18 print(file_get_contents('phar://bug53872-phar.phar/second.txt'));
19 print(file_get_contents('phar://bug53872-phar.phar/third.txt'));
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 Dbug69279a.phpt13 var_dump(strncmp(file_get_contents(__DIR__ . '/bug69279a/1.txt'), 'Lorem ipsum', 11));
14 var_dump(strncmp(file_get_contents(__DIR__ . '/bug69279a/2.txt'), 'foo', 3));
15 var_dump(strncmp(file_get_contents(__DIR__ . '/bug69279a/3.txt'), 'Lorem ipsum', 11));
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-7.4/ext/standard/tests/file/
H A Dfile_get_contents_variation9.phpt2 Test file_get_contents() function : variation - linked files
12 /* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource conte…
18 echo "*** Testing file_get_contents() : variation ***\n";
38 var_dump(file_get_contents($chainlink));
39 var_dump(file_get_contents($softlink));
40 var_dump(file_get_contents($hardlink));
50 *** Testing file_get_contents() : variation ***
H A Dfile_get_contents_file_put_contents_variation1.phpt2 Test file_get_contents() and file_put_contents() functions : usage variations - all arguments
5 /* Prototype: string file_get_contents( string $filename[, bool $use_include_path[,
25 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 0) );
26 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 1) );
27 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 0, NULL, 5) );
28 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 1, NULL, 5) );
29 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 0, NULL, 5, 20) );
30 var_dump( file_get_contents($file_path."/file_put_contents_variation1.tmp", 1, NULL, 5, 20) );
H A Dfile_get_contents_error002.phpt2 file_get_contents() test using negative parameter for length (last parameter)
10 var_dump(file_get_contents("http://checkip.dyndns.com",null,null,0,-1));
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_error001.phpt2 file_get_contents() test using offset parameter out of range
14 var_dump(file_get_contents("php://stdin",null,null,8000,1));
H A Dfile_get_contents_basic001.phpt2 file_get_contents() test using basic syntax
12 $var = file_get_contents($temp_filename);
H A Dbug39673.phpt2 Bug #39673 (file_get_contents causes bus error on certain offsets)
24 $r = file_get_contents($filename, false, null, $offset);
/PHP-7.4/ext/standard/tests/http/
H A Dbug60570.phpt26 file_get_contents('http://127.0.0.1:12342/', 0, $context);
41 Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HT…
44 Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HT…
47 Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HT…
/PHP-7.4/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-7.4/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-7.4/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);
H A Dbug67403.phpt7 $r = openssl_x509_parse(file_get_contents(__DIR__.'/bug64802.pem'));
12 $r = openssl_x509_parse(file_get_contents(__DIR__.'/bug37820cert.pem'));
/PHP-7.4/ext/standard/tests/mail/
H A Dmail_basic6.phpt33 echo file_get_contents($outFile);
43 echo @file_get_contents($outFile);
54 echo @file_get_contents($outFile);
65 echo @file_get_contents($outFile);
75 echo @file_get_contents($outFile);
85 echo @file_get_contents($outFile);
95 echo @file_get_contents($outFile);
105 echo @file_get_contents($outFile);
115 echo @file_get_contents($outFile);
125 echo @file_get_contents($outFile);
[all …]
/PHP-7.4/tests/basic/
H A Denable_post_data_reading_01.phpt13 var_dump(file_get_contents("php://input"));
14 var_dump(file_get_contents("php://input"));
H A Denable_post_data_reading_04.phpt14 var_dump(file_get_contents("php://input"));
15 var_dump(file_get_contents("php://input"));
H A Denable_post_data_reading_03.phpt14 var_dump(file_get_contents("php://input"));
15 var_dump(file_get_contents("php://input"));
/PHP-7.4/ext/standard/tests/streams/
H A Dbug77664.phpt10 file_get_contents('error://test');
15 #0 %sbug77664.php(%d): file_get_contents('error://test')
/PHP-7.4/tests/output/
H A Dbug75236.phpt10 file_get_contents ('no/suchfile');
17 <b>Warning</b>: file_get_contents(no/suchfile): failed to open stream: No such file or directory i…
/PHP-7.4/ext/opcache/tests/
H A Dissue0149.phpt26 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/issue0149.phar.php');
27 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/issue0149.phar.php');
28 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/issue0149.phar.php');

Completed in 35 milliseconds

12345678910>>...19