/PHP-7.1/ext/curl/tests/ |
H A D | curl_write_stdout.phpt | 7 …tes the value 'test' to a temporary file. Use curl to access this file and store the output in ano… 21 curl_setopt($ch, CURLOPT_URL, 'file://' . $log_file);
|
/PHP-7.1/ext/gd/tests/ |
H A D | png2wbmp_error3.phpt | 22 $file = dirname(__FILE__) .'/simpletext.png'; 25 imagepng($im, $file); 30 png2wbmp($file, '', 20, 120, 8); 31 png2wbmp($file, null, 20, 120, 8); 32 png2wbmp($file, false, 20, 120, 8);
|
H A D | jpeg2wbmp_error3.phpt | 22 $file = dirname(__FILE__) .'/simpletext.jpg'; 25 imagejpeg($im, $file); 30 jpeg2wbmp($file, '', 20, 120, 8); 31 jpeg2wbmp($file, null, 20, 120, 8); 32 jpeg2wbmp($file, false, 20, 120, 8);
|
H A D | jpeg2wbmp_error2-mb.phpt | 17 $file = dirname(__FILE__) .'/simpletext私はガラスを食べられます.wbmp'; 18 jpeg2wbmp('', $file, 20, 120, 8); 19 jpeg2wbmp(null, $file, 20, 120, 8); 20 jpeg2wbmp(false, $file, 20, 120, 8);
|
/PHP-7.1/ext/standard/tests/file/ |
H A D | copy_error.phpt | 6 * Description: Makes a copy of the file source to dest. 12 var_dump( copy("/no/file", "file") ); 26 Warning: copy(/no/file): failed to open stream: No such file or directory in %s on line %d
|
H A D | filegroup_error.phpt | 6 * Description: Returns the group ID of the file, or FALSE in case of an error. 11 /* Non-existing file or dir */ 12 var_dump( filegroup("/no/such/file/dir") ); 20 var_dump( filegroup("/no/such/file", "root") ); // args > expected 27 Warning: filegroup(): stat failed for /no/such/file/dir in %s on line %d
|
H A D | fopen_variation13.phpt | 2 Test fopen() function : variation: use include path create a file (absolute) 8 * Description: Open a file or a URL and return a file pointer 9 * Source code: ext/standard/file.c 34 fwrite($h, "This is the test file");
|
H A D | is_dir_variation2.phpt | 16 and with file, soft & hard link to file */ 37 echo "\n*** Testing is_dir() with file and links to a file ***\n"; 38 echo "-- With file --\n"; 88 *** Testing is_dir() with file and links to a file *** 89 -- With file --
|
H A D | fscanf_variation25.phpt | 8 Description: Parses input from a file according to a format 17 // create a file 21 exit("Error:failed to open file $filename"); 39 // writing to the file 44 // closing the file 47 // opening the file for reading 50 exit("Error:failed to open file $filename"); 54 // reading the values from file using different char formats 56 // rewind the file so that for every foreach iteration the file pointer starts from bof
|
H A D | lstat_stat_basic.phpt | 13 Description: Gives information about a file or symbolic link 16 Description: Gives information about a file 20 require("$file_path/file.inc"); 24 /* creating temp directory and file */ 35 // creating file 39 // stat of the file created 43 // now new stat of the dir after file is created 53 // new stat of the file, after a softlink to this file is created 65 // New stat values taken after creation of file & link 97 -- comparing difference in dir stats before and after creating file in it -- [all …]
|
H A D | fileowner_error.phpt | 6 * Description: Returns the user ID of the owner of the file, or 11 /* Non-existing file or dir */ 12 var_dump( fileowner("/no/such/file/dir") ); 20 var_dump( fileowner("/no/such/file", "root") ); // args > expected 27 Warning: fileowner(): stat failed for /no/such/file/dir in %s on line %d
|
H A D | fopen_variation12.phpt | 2 Test fopen() function : variation: use include path (path is bad) create a file (relative) 8 * Description: Open a file or a URL and return a file pointer 9 * Source code: ext/standard/file.c 21 fwrite($h, (binary) "This is the test file");
|
H A D | file_put_contents_variation4.phpt | 7 /* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]]) 8 * Description: Write/Create a file with contents data and return the number of bytes written 9 * Source code: ext/standard/file.c 38 //correct php53 behaviour is to ingnore the FILE_USE_INCLUDE_PATH unless the file alread exists 39 // in the include path. In this case it doesn't so the file should be written in the current dir.
|
/PHP-7.1/ext/zlib/tests/ |
H A D | readgzfile_variation4.phpt | 29 Warning: readgzfile(10.5): failed to open stream: No such file or directory in %s on line %d 32 Warning: readgzfile(-10.5): failed to open stream: No such file or directory in %s on line %d 35 Warning: readgzfile(123456789000): failed to open stream: No such file or directory in %s on line %d 38 Warning: readgzfile(-123456789000): failed to open stream: No such file or directory in %s on line … 41 Warning: readgzfile(0.5): failed to open stream: No such file or directory in %s on line %d
|
H A D | gzfile_variation4.phpt | 29 Warning: gzfile(10.5): failed to open stream: No such file or directory in %s on line %d 32 Warning: gzfile(-10.5): failed to open stream: No such file or directory in %s on line %d 35 Warning: gzfile(123456789000): failed to open stream: No such file or directory in %s on line %d 38 Warning: gzfile(-123456789000): failed to open stream: No such file or directory in %s on line %d 41 Warning: gzfile(0.5): failed to open stream: No such file or directory in %s on line %d
|
/PHP-7.1/ext/standard/tests/filters/ |
H A D | stream_filter_remove_basic.phpt | 18 $file = dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'streamfilterTest.txt'; 19 touch( $file ); 21 $fp = fopen( $file, 'w+' ); 38 $file = dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'streamfilterTest.txt'; 39 unlink( $file );
|
/PHP-7.1/main/streams/ |
H A D | plain_wrapper.c | 127 FILE *file; member 176 self->file = NULL; in _php_stream_fopen_from_fd_int() 195 self->file = file; in _php_stream_fopen_from_file_int() 324 self->file = file; in _php_stream_fopen_from_pipe() 455 if (data->file) { in php_stdiop_close() 467 data->file = NULL; in php_stdiop_close() 487 data->file = NULL; in php_stdiop_close() 507 if (data->file) { in php_stdiop_flush() 588 if (data->file) { in php_stdiop_cast() 589 fflush(data->file); in php_stdiop_cast() [all …]
|
/PHP-7.1/ext/libxml/tests/ |
H A D | bug61367-read.phpt | 22 <!ENTITY file SYSTEM "file:///$dir/bad"> 24 <doc>&file;</doc> 56 Warning: DOMDocument::loadXML(): I/O warning : failed to load external entity "file:///%s/test_bug_… 58 Warning: DOMDocument::loadXML(): Failure to process entity file in Entity, line: 4 in %s on line %d 60 Warning: DOMDocument::loadXML(): Entity 'file' not defined in Entity, line: 4 in %s on line %d
|
/PHP-7.1/ext/spl/examples/ |
H A D | dbaarray.inc | 3 /** @file dbaarray.inc 23 * Open database $file with $handler in read only mode. 25 * @param file Database file to open. 28 function __construct($file, $handler) 30 $this->db = dba_popen($file, "c", $handler);
|
/PHP-7.1/ext/openssl/tests/ |
H A D | openssl_free_key.phpt | 36 echo "Export key to file\n"; 38 …le($privkey, $key_file_name, $passphrase, $conf) or die("failed to export to file $key_file_name"); 40 echo "Load key from file - array syntax\n"; 42 $loaded_key = openssl_pkey_get_private(array("file://$key_file_name", $passphrase)); 51 $loaded_key = openssl_pkey_get_private("file://$key_file_name", $passphrase); 74 Export key to file 75 Load key from file - array syntax
|
/PHP-7.1/scripts/dev/ |
H A D | find_tested.php | 184 while(($file = $thisdir->read()) !== false) { 185 if ($file != '.' && $file != '..') { 186 $path = $thisdir->path.$file; 190 if (preg_match("/\w+\.phpt$/", $file)) { 202 function extract_tests($file) { argument 203 $code = file_get_contents($file);
|
/PHP-7.1/ext/mbstring/oniguruma/ |
H A D | config.h.in | 18 /* Define to 1 if you have the <dlfcn.h> header file. */ 21 /* Define to 1 if you have the <inttypes.h> header file. */ 24 /* Define to 1 if you have the <memory.h> header file. */ 33 /* Define to 1 if you have the <stdint.h> header file. */ 36 /* Define to 1 if you have the <stdlib.h> header file. */ 39 /* Define to 1 if you have the <strings.h> header file. */ 42 /* Define to 1 if you have the <string.h> header file. */ 45 /* Define to 1 if you have the <sys/stat.h> header file. */ 48 /* Define to 1 if you have the <sys/times.h> header file. */ 51 /* Define to 1 if you have the <sys/time.h> header file. */ [all …]
|
/PHP-7.1/ext/xmlwriter/tests/ |
H A D | xmlwriter_open_uri_error_004.phpt | 2 xmlwriter_open_uri with file:/// 7 var_dump(xmlwriter_open_uri('file:///')); 14 Warning: xmlwriter_open_uri(): Unable to resolve file path in %s on line %d
|
H A D | xmlwriter_open_uri_error_005.phpt | 2 xmlwriter_open_uri with file://localhost/ 7 var_dump(xmlwriter_open_uri('file://localhost/')); 14 Warning: xmlwriter_open_uri(): Unable to resolve file path in %s on line %d
|
/PHP-7.1/ext/phar/tests/tar/ |
H A D | links2.phpt | 13 $a->addFile('hardlink', 'internal/file.txt', array( 34 phar error: "%slinks2.tar" is a corrupted tar file - hard link to non-existent file "internal/file.…
|