Searched refs:readfile (Results 1 – 25 of 67) sorted by relevance
123
/php-src/ext/phar/tests/ |
H A D | readfile_edgecases.phpt | 16 readfile($fname); 20 readfile("foo/" . basename(__FILE__)); 22 readfile("readfile_edgecases.txt"); 25 readfile("./hi", 0, $context); 26 readfile("../oops"); 39 readfile("readfile_edgecases.txt"); 42 readfile("./hi", 0, $context); 43 readfile("../oops"); 50 readfile("readfile_edgecases.txt"); 53 readfile("./hi", 0, $context); [all …]
|
H A D | readfile.phpt | 2 Phar: test readfile() interception 13 readfile("dir/file1.txt"); 14 readfile("file1.txt", true);
|
/php-src/ext/standard/tests/file/ |
H A D | readfile_error.phpt | 2 Test readfile() function: error conditions 7 echo "*** Test readfile(): error conditions ***\n"; 9 echo "\n-- Testing readfile() with invalid arguments --\n"; 12 var_dump( readfile('') ); // empty string as $filename 17 var_dump( readfile(false) ); // boolean false as $filename 22 echo "\n-- Testing readfile() with non-existent file --\n"; 24 var_dump( readfile($non_existent_file) ); 29 *** Test readfile(): error conditions *** 31 -- Testing readfile() with invalid arguments -- 35 -- Testing readfile() with non-existent file -- [all …]
|
H A D | readfile_variation2.phpt | 2 Test readfile() function: usage variations - links 13 Read link using readfile() 33 /* Checking readfile() operation on soft link */ 34 echo "*** Testing readfile() on soft link ***\n"; 38 // readfile() on soft link 39 $count = readfile($linkname); // with default args 45 /* Checking readfile() operation on hard link */ 49 // readfile() on hard link 50 $count = readfile($linkname); // default args 64 *** Testing readfile() on soft link *** [all …]
|
H A D | readfile_variation10.phpt | 2 Test readfile() function : variation - various invalid paths 14 echo "*** Testing readfile() : variation ***\n"; 37 readfile($name); 44 *** Testing readfile() : variation *** 47 Warning: readfile(-1): Failed to open stream: %s in %s on line %d 50 Warning: readfile(1): Failed to open stream: %s in %s on line %d 57 Warning: readfile( ): Failed to open stream: %s in %s on line %d 59 ValueError: readfile(): Argument #1 ($filename) must not contain any null bytes 62 Warning: readfile(%sdir): Failed to open stream: %s in %s on line %d 65 Warning: readfile(%sphp): Failed to open stream: %s in %s on line %d
|
H A D | readfile_variation10-win32.phpt | 2 Test readfile() function : variation - various invalid paths 14 echo "*** Testing readfile() : variation ***\n"; 36 readfile($value); 43 *** Testing readfile() : variation *** 47 Warning: readfile(-1): Failed to open stream: No such file or directory in %s on line %d 51 Warning: readfile(1): Failed to open stream: No such file or directory in %s on line %d 61 Warning: readfile( ): Failed to open stream: Permission denied in %s on line %d 64 ValueError: readfile(): Argument #1 ($filename) must not contain any null bytes 67 TypeError: readfile(): Argument #1 ($filename) must be of type string, array given 71 Warning: readfile(/no/such/file/dir): Failed to open stream: No such file or directory in %s on lin… [all …]
|
H A D | readfile_variation1.phpt | 2 Test readfile() function: usage variation - stream_context 5 /* test readfile() with third argument : context */ 11 /* Variation 1 : Check working of third argument of readfile() */ 13 echo "*** Testing readfile(): checking third argument ***\n"; 23 $count = readfile($filename, true, $context); 34 *** Testing readfile(): checking third argument ***
|
H A D | readfile_variation3.phpt | 2 Test readfile() function: usage variation - include path 5 /* test readfile() by providing an include path, second argument */ 13 echo "*** Testing readfile(): checking second argument, include path ***\n"; 26 $count = readfile("readfile_variation3.tmp", true); 30 echo "*** Testing readfile(): checking second argument, include path with context specified ***\n"; 32 $count = readfile("readfile_variation3.tmp", true, $context); 44 *** Testing readfile(): checking second argument, include path *** 52 *** Testing readfile(): checking second argument, include path with context specified ***
|
H A D | readfile_variation9.phpt | 2 Test readfile() function : variation - variable types of path 7 echo "*** Testing readfile() : variation ***\n"; 49 $ok = readfile($dir.'/'.$theFile); 63 *** Testing readfile() : variation *** 75 Warning: readfile(%sreadfileVar8Sub/..///readfileVar8Sub//..//../readfileVar8Sub/fileToRead.tmp): F… 79 Warning: readfile(%sreadfileVar8Sub/BADDIR/fileToRead.tmp): Failed to open stream: No such file or … 91 Warning: readfile(BADDIR/fileToRead.tmp): Failed to open stream: No such file or directory in %s on…
|
H A D | readfile_variation6.phpt | 2 Test readfile() function : variation - test include path 9 echo "*** Testing readfile() : variation ***\n"; 33 readfile($filename, true); 40 *** Testing readfile() : variation ***
|
H A D | readfile_variation7.phpt | 2 Test readfile() function : variation 9 echo "*** Testing readfile() : variation ***\n"; 33 readfile($filename, true); 40 *** Testing readfile() : variation ***
|
H A D | readfile_variation8-win32.phpt | 2 Test readfile() function : variation 12 echo "*** Testing readfile() : variation ***\n"; 57 $ok = readfile($dir.'\\'.$theFile); 71 *** Testing readfile() : variation *** 83 Warning: readfile(%s\readfileVar8\readfileVar8Sub\..\\\readfileVar8Sub\\..\\..\readfileVar8Sub\file… 87 Warning: readfile(%s\readfileVar8\readfileVar8Sub\BADDIR\fileToRead.tmp): Failed to open stream: No… 99 Warning: readfile(BADDIR\fileToRead.tmp): Failed to open stream: No such file or directory in %s on…
|
H A D | readfile_variation8-win32-mb.phpt | 2 Test readfile() function : variation 12 echo "*** Testing readfile() : variation ***\n"; 57 $ok = readfile($dir.'\\'.$theFile); 71 *** Testing readfile() : variation *** 83 Warning: readfile(%s\readfileVar私はガラスを食べられます8\readfileVar私はガラスを食べられます8Sub\..\\\readfileVar私はガラスを食べら… 87 Warning: readfile(%s\readfileVar私はガラスを食べられます8\readfileVar私はガラスを食べられます8Sub\BADDIR\fileToRead.tmp): F… 99 Warning: readfile(BADDIR\fileToRead.tmp): Failed to open stream: No such file or directory in %s on…
|
H A D | file_put_contents_variation1.phpt | 17 readfile($filename); 22 readfile($filename);
|
/php-src/ext/openssl/tests/ |
H A D | openssl_cms_encrypt_pem.phpt | 22 readfile($single_cert); 24 readfile($infile); 26 readfile($cryptfile); 31 readfile($decryptfile);
|
H A D | openssl_cms_encrypt_der.phpt | 22 readfile($single_cert); 24 readfile($infile); 31 readfile($decryptfile);
|
H A D | openssl_cms_sign_verify_nodetached_pem.phpt | 23 readfile($infile); 27 readfile($vout); 44 readfile($vout); 63 readfile($vout);
|
H A D | openssl_cms_sign_verify_basic.phpt | 23 readfile($infile); 27 readfile($vout);
|
/php-src/sapi/cli/tests/ |
H A D | gh8827-003.phpt | 40 readfile($stdoutFile); 43 readfile($stderrFile);
|
/php-src/ext/mbstring/tests/ |
H A D | mb_send_mail01.phpt | 20 readfile(__DIR__ . "/mb_send_mail01.eml"); 26 readfile(__DIR__ . "/mb_send_mail01.eml");
|
H A D | mb_send_mail03.phpt | 20 readfile(__DIR__ . "/mb_send_mail03.eml"); 26 readfile(__DIR__ . "/mb_send_mail03.eml");
|
H A D | mb_send_mail02.phpt | 20 readfile(__DIR__ . "/mb_send_mail02.eml"); 26 readfile(__DIR__ . "/mb_send_mail02.eml");
|
H A D | mb_send_mail04.phpt | 20 readfile(__DIR__ . "/mb_send_mail04.eml"); 26 readfile(__DIR__ . "/mb_send_mail04.eml");
|
H A D | mb_send_mail06.phpt | 23 readfile(__DIR__ . "/mb_send_mail06.eml"); 29 readfile(__DIR__ . "/mb_send_mail06.eml");
|
H A D | mb_send_mail05.phpt | 23 readfile(__DIR__ . "/mb_send_mail05.eml"); 29 readfile(__DIR__ . "/mb_send_mail05.eml");
|
Completed in 27 milliseconds
123