/PHP-8.1/ext/phar/tests/ |
H A D | fgc_edgecases.phpt | 16 file_get_contents(array()); 23 echo file_get_contents($fname); 35 echo file_get_contents("fgc_edgecases.txt"); 39 echo file_get_contents("../oops"); 41 echo file_get_contents("./hi"); 67 echo file_get_contents("../oops"); 69 echo file_get_contents("./hi"); 87 echo file_get_contents("../oops"); 89 echo file_get_contents("./hi"); 108 echo file_get_contents("../oops"); [all …]
|
H A D | phar_oo_uncompressall.phpt | 24 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 D | phar_oo_compressed_002.phpt | 24 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 D | phar_oo_compressed_002b.phpt | 24 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 D | phar_oo_compressed_001.phpt | 24 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 D | phar_oo_compressed_001b.phpt | 24 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 D | 016.phpt | 23 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 D | phar_ctx_001.phpt | 24 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 D | phar_oo_compressallbz2.phpt | 24 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'));
|
H A D | phar_oo_compressallgz.phpt | 24 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.1/tests/security/ |
H A D | open_basedir_file_get_contents.phpt | 9 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.1/ext/standard/tests/file/ |
H A D | file_get_contents_variation8.phpt | 2 Test file_get_contents() function : variation - obscure filenames 15 echo "*** Testing file_get_contents() : variation ***\n"; 36 var_dump(file_get_contents($names_arr[$i])); 45 *** Testing file_get_contents() : variation *** 48 Warning: file_get_contents(-1): Failed to open stream: No such file or directory in %s on line %d 52 Warning: file_get_contents(1): Failed to open stream: No such file or directory in %s on line %d 60 Warning: file_get_contents( ): Failed to open stream: No such file or directory in %s on line %d 63 ValueError: file_get_contents(): Argument #1 ($filename) must not contain any null bytes 65 TypeError: file_get_contents(): Argument #1 ($filename) must be of type string, array given 68 Warning: file_get_contents(/no/such/file/dir): Failed to open stream: No such file or directory in … [all …]
|
H A D | file_get_contents_variation8-win32.phpt | 2 Test file_get_contents() function : variation - obscure filenames 15 echo "*** Testing file_get_contents() : variation ***\n"; 37 var_dump(file_get_contents($value)); 45 *** 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 54 Warning: file_get_contents(1): Failed to open stream: No such file or directory in %s on line %d 65 Warning: file_get_contents( ): Failed to open stream: Permission denied in %s on line %d 69 ValueError: file_get_contents(): Argument #1 ($filename) must not contain any null bytes 72 TypeError: file_get_contents(): Argument #1 ($filename) must be of type string, array given 76 Warning: file_get_contents(/no/such/file/dir): Failed to open stream: No such file or directory in … [all …]
|
H A D | stream_rfc2397_006.phpt | 18 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 D | stream_copy_to_stream.phpt | 17 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 D | file_get_contents_basic.phpt | 2 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 D | file_get_contents_file_put_contents_basic.phpt | 2 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 D | ftruncate.phpt | 13 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 D | file_get_contents_error_folder-win.phpt | 2 Test file_get_contents() function : error when passing folder - on Windows 9 file_get_contents(__DIR__); 12 Warning: file_get_contents(%s): Failed to open stream: Permission denied in %s on line %d
|
H A D | file_get_contents_error_folder.phpt | 2 Test file_get_contents() function : error when passing folder 9 file_get_contents(__DIR__); 12 Notice: file_get_contents(): Read of %d bytes failed with errno=21 Is a directory in %s on line %d
|
/PHP-8.1/ext/phar/tests/zip/ |
H A D | phar_oo_compressallgz.phpt | 18 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 D | phar_oo_compressallbz2.phpt | 20 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.1/sapi/cli/tests/ |
H A D | bug70264.phpt | 13 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.1/ext/openssl/tests/ |
H A D | openssl_pkcs12_export_to_file_basic.phpt | 10 $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.1/ext/zip/tests/ |
H A D | oo_extract.phpt | 28 echo file_get_contents($dirname . '__oo_extract_tmp/foobar/baz') . "\n"; 34 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n"; 40 echo file_get_contents($dirname . '__oo_extract_tmp/foo') . "\n"; 49 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n"; 57 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n"; 62 echo file_get_contents($dirname . '__oo_extract_tmp/foo') . "\n";
|