/php-src/ext/zip/tests/ |
H A D | oo_open.phpt | 2 zip::open() function 10 $r = $zip->open($dirname . 'nofile'); 17 $r = $zip->open($dirname . 'nofile', ZIPARCHIVE::CREATE); 27 $zip->open(''); 32 if (!$zip->open($dirname . 'test.zip')) { 45 ZipArchive::open(): Argument #1 ($filename) must not be empty
|
H A D | bug47667.phpt | 11 if ($zip->open($filename, ZipArchive::CREATE) !== true) { 12 exit("Unable to open the zip file"); 20 if ($zip->open($filename, ZipArchive::OVERWRITE) !== true) { 21 exit("Unable to open the zip file"); 28 if ($zip->open($filename, ZipArchive::CREATE) !== true) { 29 exit("Unable to open the zip file");
|
H A D | oo_replacefile.phpt | 15 if (!$zip->open($file)) { 16 exit('open failed'); 42 if (!$zip->open($file)) { 43 exit('re-open failed');
|
/php-src/ext/xmlreader/tests/ |
H A D | open_error.phpt | 2 XMLReader: open error 8 var_dump($reader->open(__DIR__.'/missing-file.xml')); 12 Warning: XMLReader::open(): Unable to open source data in %s on line %d
|
H A D | gh14183.phpt | 2 GH-14183 (XMLReader::open() can't be overridden) 9 …public static function open(string $uri, ?string $encoding = null, int $flags = 0): bool|\XMLReader 16 var_dump(MyXMLReader::open('asdf')); 18 var_dump($o->open('asdf'));
|
H A D | 002.phpt | 14 $reader->open(''); 20 if (!$reader->open($filename)) { 33 $reader->open($filename); 39 XMLReader::open(): Argument #1 ($uri) must not be empty
|
/php-src/ext/session/tests/user_session_module/ |
H A D | sessionhandler_open_001.phpt | 2 Testing repated SessionHandler::open() calls 12 $x->open('',''); 18 $x->open('',''); 24 $x->open('',''); 30 $x->open('','');
|
H A D | session_set_save_handler_class_012.phpt | 2 Test session_set_save_handler() : incorrect arguments for existing handler open 14 echo "*** Testing session_set_save_handler() : incorrect arguments for existing handler open ***\n"; 18 public function open($path, $name): bool { 23 return (null === parent::open()); 44 *** Testing session_set_save_handler() : incorrect arguments for existing handler open *** 46 SessionHandler::open() expects exactly 2 arguments, 0 given
|
/php-src/ext/xml/tests/ |
H A D | XML_OPTION_PARSE_HUGE.phpt | 26 echo "open: "; 66 open: CONTAINER 71 open: CONTAINER 72 open: AAAAAAAAAAAAAAAAAAAA... 73 open: AAAAAAAAAAAAAAAAAAAA... 74 open: SECOND 80 open: CONTAINER 85 open: CONTAINER 86 open: AAAAAAAAAAAAAAAAAAAA... 87 open: AAAAAAAAAAAAAAAAAAAA... [all …]
|
/php-src/ext/tokenizer/tests/ |
H A D | token_get_all_basic.phpt | 9 // with php open/close tags 11 echo "-- source string with PHP open and close tags --\n"; 14 // without php open/close tags testing for T_INLINE_HTML 16 echo "-- source string without PHP open and close tags --\n"; 23 -- source string with PHP open and close tags -- 82 -- source string without PHP open and close tags --
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_max_links.phpt | 24 …printf("[%03d] One link is already open, it should not be possible to open more, [%d] %s, [%d] %s\… 39 Warning: mysqli_%sonnect(): Too many open links (1) in %s on line %d 41 Warning: mysqli_%sonnect(): Too many open links (1) in %s on line %d 43 Warning: mysqli_%sonnect(): Too many open links (1) in %s on line %d 45 Warning: mysqli_%sonnect(): Too many open links (1) in %s on line %d 47 Warning: mysqli_%sonnect(): Too many open links (1) in %s on line %d
|
/php-src/ext/standard/tests/dir/ |
H A D | dir_variation5.phpt | 2 Test dir() function : usage variations - open a file instead of directory 16 echo "*** Testing dir() : open a file instead of a directory ***\n"; 18 // open the file instead of directory 25 *** Testing dir() : open a file instead of a directory *** 27 Warning: dir(%s): Failed to open directory: %s in %s on line %d
|
H A D | dir_variation6.phpt | 15 echo "*** Testing dir() : open a non-existent directory ***\n"; 22 // open existent directory 26 // remove directory and try to open the same(non-existent) directory again 42 *** Testing dir() : open a non-existent directory *** 45 Warning: dir(%s): Failed to open directory: %s in %s on line %d 49 Warning: dir(%s): Failed to open directory: %s in %s on line %d
|
H A D | dir_variation8.phpt | 12 * Create more than one temporary directory & subdirectory and check if dir() function can open 42 Warning: dir(%s/dir_var*): Failed to open directory: %s in %s on line %d 45 Warning: dir(%s/*): Failed to open directory: %s in %s on line %d 49 Warning: dir(%s/dir_variation81/sub_dir?): Failed to open directory: %s in %s on line %d 52 Warning: dir(%s/dir_variation81/sub?dir1): Failed to open directory: %s in %s on line %d
|
/php-src/ext/standard/tests/file/ |
H A D | open_basedir_cwd_resolve.phpt | 8 var_dump(file_get_contents('/some/path/outside/open/basedir')); 12 Warning: file_get_contents(): open_basedir restriction in effect. File(/some/path/outside/open/base… 14 Warning: file_get_contents(/some/path/outside/open/basedir): Failed to open stream: Operation not p…
|
/php-src/ext/fileinfo/tests/ |
H A D | finfo_open_001.phpt | 47 Warning: finfo_open(%s123): Failed to open stream: No such file or directory in %s on line %d 49 Warning: finfo_open(%s123): Failed to open stream: No such file or directory in %s on line %d 54 Warning: finfo_open(%s1): Failed to open stream: No such file or directory in %s on line %d 56 Warning: finfo_open(%s1): Failed to open stream: No such file or directory in %s on line %d 61 Warning: finfo_open(%sinexistent): Failed to open stream: No such file or directory in %s on line %d 63 Warning: finfo_open(%sinexistent): Failed to open stream: No such file or directory in %s on line %d 71 finfo::__construct(%s123): Failed to open stream: No such file or directory 72 finfo::__construct(%s1): Failed to open stream: No such file or directory 73 finfo::__construct(%sinexistent): Failed to open stream: No such file or directory
|
/php-src/ext/zlib/tests/ |
H A D | gzfile_variation4.phpt | 26 Warning: gzfile(10.5): Failed to open stream: No such file or directory in %s on line %d 29 Warning: gzfile(-10.5): Failed to open stream: No such file or directory in %s on line %d 32 Warning: gzfile(123456789000): 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(0.5): Failed to open stream: No such file or directory in %s on line %d
|
H A D | readgzfile_variation4.phpt | 26 Warning: readgzfile(10.5): Failed to open stream: No such file or directory in %s on line %d 29 Warning: readgzfile(-10.5): Failed to open stream: No such file or directory in %s on line %d 32 Warning: readgzfile(123456789000): 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 … 38 Warning: readgzfile(0.5): Failed to open stream: No such file or directory in %s on line %d
|
H A D | gzfile_variation5.phpt | 25 Warning: gzfile(0): Failed to open stream: No such file or directory in %s on line %d 28 Warning: gzfile(1): Failed to open stream: No such file or directory in %s on line %d 31 Warning: gzfile(12345): Failed to open stream: No such file or directory in %s on line %d 34 Warning: gzfile(-2345): Failed to open stream: No such file or directory in %s on line %d
|
H A D | readgzfile_variation5.phpt | 25 Warning: readgzfile(0): Failed to open stream: No such file or directory in %s on line %d 28 Warning: readgzfile(1): Failed to open stream: No such file or directory in %s on line %d 31 Warning: readgzfile(12345): Failed to open stream: No such file or directory in %s on line %d 34 Warning: readgzfile(-2345): Failed to open stream: No such file or directory in %s on line %d
|
H A D | gzfile_variation7.phpt | 29 Warning: gzfile(string): Failed to open stream: No such file or directory in %s on line %d 32 Warning: gzfile(string): Failed to open stream: No such file or directory in %s on line %d 35 Warning: gzfile(sTrInG): Failed to open stream: No such file or directory in %s on line %d 38 Warning: gzfile(hello world): Failed to open stream: No such file or directory in %s on line %d
|
H A D | readgzfile_variation7.phpt | 29 Warning: readgzfile(string): Failed to open stream: No such file or directory in %s on line %d 32 Warning: readgzfile(string): Failed to open stream: No such file or directory in %s on line %d 35 Warning: readgzfile(sTrInG): Failed to open stream: No such file or directory in %s on line %d 38 Warning: readgzfile(hello world): Failed to open stream: No such file or directory in %s on line %d
|
/php-src/ext/phar/tests/ |
H A D | create_path_error.phpt | 68 1:Error: file_put_contents(phar://%s//): Failed to open stream: phar error: file "" in phar "%s" mu… 69 2:Error: file_put_contents(phar://%s/.): Failed to open stream: phar error: file "" in phar "%s" mu… 70 3:Error: file_put_contents(phar://%s/../): Failed to open stream: phar error: file "" in phar "%s" … 71 4:Error: file_put_contents(phar://%s/a/..): Failed to open stream: phar error: file "" in phar "%s"… 76 9:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contain… 77 10:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contai… 78 11:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contai… 79 12:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contai… 80 13:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contai…
|
H A D | test_alias_unset.phpt | 20 $phar2->setAlias('first'); // this works because there are no references to $fname open 24 … = fopen($pname . '/file1.txt', 'r'); // this works because there are no references to $fname2 open 26 $phar2 = new Phar($fname2); // fails because references open to $fname 40 Cannot open archive "%stest_alias_unset.2.phar.php", alias is already in use by existing archive 43 Warning: file_get_contents(phar://%sfile1.txt): Failed to open stream: Cannot open archive "%stest_…
|
/php-src/ext/dba/tests/ |
H A D | dba_cdb_001.phpt | 32 echo "Failed to open DB\n"; 44 echo "Failed to open DB\n"; 54 echo "Failed to open DB\n"; 64 echo "Failed to open DB\n"; 84 Failed to open DB 91 Failed to open DB
|