Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 806) sorted by relevance

12345678910>>...33

/php-src/ext/zip/tests/
H A Doo_open.phpt2 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 Dbug47667.phpt11 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 Doo_replacefile.phpt15 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 Dopen_error.phpt2 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 Dgh14183.phpt2 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 D002.phpt14 $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 Dsessionhandler_open_001.phpt2 Testing repated SessionHandler::open() calls
12 $x->open('','');
18 $x->open('','');
24 $x->open('','');
30 $x->open('','');
H A Dsession_set_save_handler_class_012.phpt2 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 DXML_OPTION_PARSE_HUGE.phpt26 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 Dtoken_get_all_basic.phpt9 // 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 Dmysqli_max_links.phpt24 …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 Ddir_variation5.phpt2 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 Ddir_variation6.phpt15 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 Ddir_variation8.phpt12 * 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 Dopen_basedir_cwd_resolve.phpt8 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 Dfinfo_open_001.phpt47 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 Dgzfile_variation4.phpt26 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 Dreadgzfile_variation4.phpt26 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 Dgzfile_variation5.phpt25 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 Dreadgzfile_variation5.phpt25 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 Dgzfile_variation7.phpt29 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 Dreadgzfile_variation7.phpt29 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 Dcreate_path_error.phpt68 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 Dtest_alias_unset.phpt20 $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 Ddba_cdb_001.phpt32 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

Completed in 25 milliseconds

12345678910>>...33