/PHP-7.4/ext/phar/tests/tar/ |
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-7.4/ext/phar/tests/ |
H A D | bug53872.phpt | 17 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 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 | bug69279a.phpt | 13 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 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-7.4/ext/standard/tests/file/ |
H A D | file_get_contents_variation9.phpt | 2 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 D | file_get_contents_file_put_contents_variation1.phpt | 2 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 D | file_get_contents_error002.phpt | 2 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 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_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));
|
H A D | file_get_contents_basic001.phpt | 2 file_get_contents() test using basic syntax 12 $var = file_get_contents($temp_filename);
|
H A D | bug39673.phpt | 2 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 D | bug60570.phpt | 26 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 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-7.4/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-7.4/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);
|
H A D | bug67403.phpt | 7 $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 D | mail_basic6.phpt | 33 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 D | enable_post_data_reading_01.phpt | 13 var_dump(file_get_contents("php://input")); 14 var_dump(file_get_contents("php://input"));
|
H A D | enable_post_data_reading_04.phpt | 14 var_dump(file_get_contents("php://input")); 15 var_dump(file_get_contents("php://input"));
|
H A D | enable_post_data_reading_03.phpt | 14 var_dump(file_get_contents("php://input")); 15 var_dump(file_get_contents("php://input"));
|
/PHP-7.4/ext/standard/tests/streams/ |
H A D | bug77664.phpt | 10 file_get_contents('error://test'); 15 #0 %sbug77664.php(%d): file_get_contents('error://test')
|
/PHP-7.4/tests/output/ |
H A D | bug75236.phpt | 10 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 D | issue0149.phpt | 26 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');
|