/PHP-7.1/ext/mbstring/libmbfl/ |
H A D | config.h.in | 3 /* Define to 1 if you have the <assert.h> header file. */ 6 /* Define to 1 if you have the <dlfcn.h> header file. */ 9 /* Define to 1 if you have the <inttypes.h> header file. */ 16 /* Define to 1 if you have the <memory.h> header file. */ 23 /* Define to 1 if you have the <stddef.h> header file. */ 26 /* Define to 1 if you have the <stdint.h> header file. */ 29 /* Define to 1 if you have the <stdlib.h> header file. */ 38 /* Define to 1 if you have the <strings.h> header file. */ 41 /* Define to 1 if you have the <string.h> header file. */ 44 /* Define to 1 if you have the <sys/stat.h> header file. */ [all …]
|
/PHP-7.1/ext/opcache/tests/ |
H A D | bug74663.phpt | 15 $file = __DIR__ . "/bug74663.inc"; 16 file_put_contents($file, ""); 17 include $file; 19 var_dump(is_file($file));
|
/PHP-7.1/ext/standard/tests/file/ |
H A D | file_variation6.phpt | 2 file() with a range of integer flag values 12 var_dump(file($filepath, $flags)); 236 Warning: file(): '24' flag is not supported in %s on line %d 239 Warning: file(): '25' flag is not supported in %s on line %d 242 Warning: file(): '26' flag is not supported in %s on line %d 245 Warning: file(): '27' flag is not supported in %s on line %d 248 Warning: file(): '28' flag is not supported in %s on line %d 251 Warning: file(): '29' flag is not supported in %s on line %d 254 Warning: file(): '30' flag is not supported in %s on line %d 257 Warning: file(): '31' flag is not supported in %s on line %d [all …]
|
H A D | bug37158.phpt | 17 $file = dirname(__FILE__) . '/footest.txt'; 19 $fp = fopen($file, 'w'); 25 $fp = fopen($file, 'r'); 29 $outsidecontents = file_get_contents($file); 32 unlink($file);
|
H A D | fileinode_basic.phpt | 7 Description: Returns the inode number of the file, or FALSE in case of an error. 10 echo "*** Testing fileinode() with file, directory ***\n"; 12 /* Getting inode of created file */ 17 /* Getting inode of current file */ 30 *** Testing fileinode() with file, directory ***
|
H A D | rename_basic.phpt | 6 Description: Renames a file or directory 9 echo "*** Testing rename() on non-existing file ***\n"; 11 require "$file_path/file.inc"; 16 // create the file 27 // checking statistics of old and renamed file - both should be same except ctime 40 *** Testing rename() on non-existing file ***
|
H A D | file_get_contents_variation8-win32.phpt | 14 * Description: Read the entire file into a string 15 * Source code: ext/standard/file.c 34 "/no/such/file/dir" => "/no/such/file/dir", 51 Warning: file_get_contents(-1): failed to open stream: No such file or directory in %s on line %d 56 Warning: file_get_contents(1): failed to open stream: No such file or directory in %s on line %d 89 -- Filename: /no/such/file/dir -- 91 Warning: file_get_contents(/no/such/file/dir): failed to open stream: No such file or directory in … 96 Warning: file_get_contents(php/php): failed to open stream: No such file or directory in %s on line…
|
H A D | fopen_variation19.phpt | 13 * Description: Open a file or a URL and return a file pointer 14 * Source code: ext/standard/file.c 70 function readFile2($file) { 71 $h = fopen($file, 'r'); 77 function appendFile($file) { 78 $h = fopen($file, 'a+'); 86 function writeFile($file) { 87 $h = fopen($file, 'w'); 90 readFile2($file);
|
H A D | readfile_variation10-win32.phpt | 13 * Description: Output a file or a URL 14 * Source code: ext/standard/file.c 33 "/no/such/file/dir" => "/no/such/file/dir", 50 Warning: readfile(-1): failed to open stream: No such file or directory in %s on line %d 54 Warning: readfile(1): failed to open stream: No such file or directory in %s on line %d 80 -- Filename: /no/such/file/dir -- 82 Warning: readfile(/no/such/file/dir): failed to open stream: No such file or directory in %s on lin… 86 Warning: readfile(php/php): failed to open stream: No such file or directory in %s on line %d
|
H A D | fputcsv.phpt | 29 $file = dirname(__FILE__) . 'fgetcsv.csv'; 30 @unlink($file); 32 $fp = fopen($file, "w"); 38 $res = file($file); 45 $fp = fopen($file, "r"); 55 @unlink($file);
|
H A D | copy_variation18.phpt | 6 Description: Makes a copy of the file source to dest. 10 /* Test copy(): checking stat of file before and after after copy operation */ 14 require($file_path."/file.inc"); 16 echo "*** Test copy() function: stat of file before and after copy ***\n"; 40 echo "Comparing the stats of file before and after copy operation => "; 51 *** Test copy() function: stat of file before and after copy *** 53 Comparing the stats of file before and after copy operation => bool(true)
|
/PHP-7.1/ext/xsl/tests/ |
H A D | bug54446.phpt | 2 Bug #54446 (Arbitrary file creation via libxslt 'output' extension) 43 print "OK, no file created\n"; 54 print "OK, file exists\n"; 70 print "OK, no file created\n"; 73 Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %s element output in %s on li… 77 Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %d element output in %s on li… 80 OK, no file created 81 OK, file exists 83 Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %s element output in %s on li… 87 Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %d element output in %s on li… [all …]
|
H A D | bug54446_with_ini.phpt | 2 Bug #54446 (Arbitrary file creation via libxslt 'output' extension with php.ini setting) 43 print "OK, no file created\n"; 54 print "OK, file exists\n"; 70 print "OK, no file created\n"; 75 Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %s element output in %s on li… 79 Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %d element output in %s on li… 82 OK, no file created 83 OK, file exists 85 Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %s element output in %s on li… 89 Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %d element output in %s on li… [all …]
|
/PHP-7.1/ext/zip/tests/ |
H A D | oo_extract.phpt | 11 $file = $dirname . 'test_with_comment.zip'; 14 if ($zip->open($file) !== TRUE) { 35 echo "failed. bar file\n"; 41 echo "failed. foo file\n"; 47 /* extract one file */ 50 echo "failed. extract bar file\n"; 58 echo "failed. extract bar file\n"; 63 echo "failed. extract foo file\n";
|
/PHP-7.1/ext/zlib/tests/ |
H A D | zlib_scheme_fopen_variation1.phpt | 2 Test compress.zlib:// scheme with the fopen on a file scheme 12 $srcFile = "file://$inputFileName"; 15 echo "file=$compressedFile\n\n"; 22 file=compress.zlib://file://%s/004.txt.gz
|
/PHP-7.1/ext/standard/tests/general_functions/ |
H A D | getservbyport_basic.phpt | 11 $file = "/etc/services"; 13 elseif(substr(PHP_OS,0,3) == "WIN") $file = "C:/WINDOWS/system32/drivers/etc/services"; 16 if(file_exists($file)){ 17 $services = file_get_contents($file); 23 echo "Services file not found in expected location\n";
|
/PHP-7.1/ext/standard/tests/streams/ |
H A D | stream_resolve_include_path.phpt | 8 $include_path_file = $include_path . DIRECTORY_SEPARATOR . 'file'; 9 $include_path_nested_file = $include_path_nested . DIRECTORY_SEPARATOR . 'file'; 20 var_dump(stream_resolve_include_path('file-does-not-exist')); 23 var_dump(stream_resolve_include_path('file')); 25 var_dump(stream_resolve_include_path('file'));
|
H A D | stream_get_meta_data_file_variation5.phpt | 2 testing stream_get_meta_data() "eof" field for a file stream 10 echo "Write some data to the file:\n"; 18 //seek to start of file 21 echo "\n\nRead entire file:\n"; 34 Write some data to the file: 57 Read entire file:
|
/PHP-7.1/ext/fileinfo/tests/ |
H A D | finfo_file_regex.phpt | 9 * Works with the unix file command: 10 * $ file -m magic resources/test.awk 19 $file = __DIR__ . '/resources/test.awk'; 20 var_dump( finfo_file( $finfo, $file ) ); 21 var_dump( finfo_file( $finfo, $file, FILEINFO_CONTINUE ) );
|
/PHP-7.1/ext/phar/tests/tar/ |
H A D | links3.phpt | 14 echo $p['file.txt']->getContent(); 15 echo $p['my/file']->getContent(); 19 my file 20 my file
|
/PHP-7.1/ext/oci8/tests/ |
H A D | define3.phpt | 47 echo "file md5:" . md5($f->load()) . "\n"; 56 echo "file md5:" . md5($outdata) . "\n"; 65 echo "file md5:" . md5($outdata) . "\n"; 75 echo "file md5:" . md5($fid->load()) . "\n"; 96 file md5:614fcbba1effb7caa27ef0ef25c27fcf 101 file md5:06d4f219d946c74d748d43932cd9dcb2 108 file md5:614fcbba1effb7caa27ef0ef25c27fcf 109 file md5:06d4f219d946c74d748d43932cd9dcb2 112 file md5:614fcbba1effb7caa27ef0ef25c27fcf 113 file md5:06d4f219d946c74d748d43932cd9dcb2
|
/PHP-7.1/ext/xmlreader/tests/ |
H A D | 008.phpt | 26 $file = dirname(__FILE__) . '/_008.xml'; 27 file_put_contents($file, $xmlstring); 31 $reader->open($file); 36 echo "file DTD: ok\n"; 39 unlink($file); 42 <!DOCTYPE LIST SYSTEM "file:///' . $dtdfile. '"> 69 file DTD: ok
|
/PHP-7.1/ext/gd/tests/ |
H A D | bug38212-mb.phpt | 9 $file = dirname(__FILE__) . '/bug38212私はガラスを食べられます.gd2'; 12 imagegd2($im1, $file); 13 $im = imagecreatefromgd2part($file, 0,0, -25,10); 14 unlink($file);
|
H A D | bug38212.phpt | 9 $file = dirname(__FILE__) . '/bug38212.gd2'; 12 imagegd2($im1, $file); 13 $im = imagecreatefromgd2part($file, 0,0, -25,10); 14 unlink($file);
|
/PHP-7.1/tests/security/ |
H A D | open_basedir_tempnam.phpt | 20 $file = tempnam($initdir."/test/ok", "test"); 21 var_dump($file); 22 var_dump(unlink($file)); 25 $file = tempnam(".", "test"); 26 var_dump($file); 27 var_dump(unlink($file)); 29 $file = tempnam("../ok", "test"); 30 var_dump($file); 31 var_dump(unlink($file));
|