Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 569) sorted by relevance

12345678910>>...23

/php-src/ext/libxml/tests/
H A Dbug61367-write.phpt2 Bug #61367: open_basedir bypass in libxml RSHUTDOWN: write test
24 var_dump(mkdir('test_bug_61367-write'));
25 var_dump(mkdir('test_bug_61367-write/base'));
26 var_dump(file_put_contents('test_bug_61367-write/bad', 'blah'));
27 var_dump(chdir('test_bug_61367-write/base'));
35 @unlink('test_bug_61367-write/bad');
36 rmdir('test_bug_61367-write/base');
37 rmdir('test_bug_61367-write');
/php-src/ext/standard/tests/file/
H A Dcopy_variation9.phpt11 /* Test copy(): Trying to copy source file to destination file with and without write permissions */
15 echo "*** Test copy() function: destination with/without write permissions ***\n";
24 echo "\n-- With write permissions --\n";
30 echo "\n-- Without write permissions --\n";
31 chmod($file_path."/copy_copy_variation9.tmp", 0555); //No write permissions
45 *** Test copy() function: destination with/without write permissions ***
47 -- With write permissions --
53 -- Without write permissions --
H A Dfile_put_contents_variation1.phpt11 $data = "The first string to write";
37 The first string to write, followed by this
39 The first string to write
H A Dcopy_variation15.phpt11 /* Test copy(): Trying to create a copy of file in a dir which doesn't have write permissions */
15 echo "*** Test copy() function: Trying to create a copy of file in a dir which doesn't have write p…
26 chmod($dir, 0555); //dir without write permissions
44 *** Test copy() function: Trying to create a copy of file in a dir which doesn't have write permiss…
/php-src/ext/session/tests/user_session_module/
H A Dbug60634_error_4.phpt2 …4 (Segmentation fault when trying to die() in SessionHandler::write()) - exception in write after …
24 function write($id, $session_data) {
25 echo "write: goodbye cruel world\n";
34 session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
41 write: goodbye cruel world
45 #0 [internal function]: write('%s', '')
H A Dbug60634_error_3.phpt2 … (Segmentation fault when trying to die() in SessionHandler::write()) - fatal error in write after…
27 function write($id, $session_data) {
28 echo "write: goodbye cruel world\n";
40 session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
46 write: goodbye cruel world
50 #0 [internal function]: write(%s, '')
H A Dbug60634_error_2.phpt2 …4 (Segmentation fault when trying to die() in SessionHandler::write()) - exception in write during…
28 function write($id, $session_data): bool {
29 echo "write: goodbye cruel world\n";
49 write: goodbye cruel world
53 #0 [internal function]: MySessionHandler->write('%s', '')
H A Dsession_set_save_handler_class_011.phpt26 public function write($id, $data): bool {
28 echo "(#$this->num) destroyed, cannot write\n";
32 return parent::write($id, $data);
37 echo "(#$this->num) destroyed, cannot write\n";
59 (#1) destroyed, cannot write
60 (#1) destroyed, cannot write
H A Dbug60634_error_1.phpt2 … (Segmentation fault when trying to die() in SessionHandler::write()) - fatal error in write durin…
28 function write($id, $session_data): bool {
29 echo "write: goodbye cruel world\n";
53 write: goodbye cruel world
57 #0 [internal function]: MySessionHandler->write('%s', '')
H A Dbug60634.phpt2 Bug #60634 (Segmentation fault when trying to die() in SessionHandler::write())
27 function write($id, $session_data): bool {
28 die("write: goodbye cruel world\n");
47 write: goodbye cruel world
H A Dgh7787.phpt23 public function write($sessid, $sessdata): bool {
81 …te_close(): Failed to write session data using user defined save handler. (session.save_path: %S, …
83 Warning: session_write_close(): Failed to write session data using user defined save handler. (sess…
87 …ssion_write_close(): Failed to write session data using user defined save handler. (session.save_p…
89 Warning: session_write_close(): Failed to write session data using user defined save handler. (sess…
H A Dbug71162.phpt8 Current session module is designed to write empty session always.
25 public function write($sessid, $sessdata): bool {
74 write
80 write
/php-src/Zend/tests/offsets/
H A Dinternal_handlers.phpt15 echo 'write op', PHP_EOL;
20 echo 'read-write op', PHP_EOL;
64 echo 'nested write', PHP_EOL;
73 echo 'nested write: appending then write', PHP_EOL;
91 echo 'nested read-write: appending then write', PHP_EOL;
225 write op
227 read-write op
243 nested write
248 nested write: appending then write
253 nested read-write
[all …]
/php-src/ext/zip/tests/
H A Doo_readonly_properties.phpt66 Cannot write read-only property ZipArchive::$lastId
67 Cannot write read-only property ZipArchive::$lastId
69 Cannot write read-only property ZipArchive::$status
71 Cannot write read-only property ZipArchive::$statusSys
73 Cannot write read-only property ZipArchive::$numFiles
75 Cannot write read-only property ZipArchive::$filename
77 Cannot write read-only property ZipArchive::$comment
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddynasm.lua134 stderr:write(...)
141 stderr:write(...)
155 stderr:write("\n")
251 out:write("\n")
486 out:write("\n")
489 out:write("\n")
567 out:write("\n")
614 out:write("\n")
689 out:write("\n")
876 out:write(format([[
[all …]
H A Ddasm_mips.lua76 out:write("\n")
151 out:write("Global labels:\n")
153 out:write(format(" %s\n", t[i]))
155 out:write("\n")
162 out:write("enum {\n")
175 out:write(" \"", t[i], "\",\n")
177 out:write(" (const char *)0\n};\n")
197 out:write("Extern labels:\n")
201 out:write("\n")
1125 out:write("Type definitions:\n")
[all …]
/php-src/ext/shmop/tests/
H A Dshmop_open_private.phpt7 $write = 'test';
10 shmop_write($shm1, $write, 0);
15 var_dump(is_string($read) && $read !== $write);
/php-src/ext/standard/tests/streams/
H A Dstream_select_null_usec.phpt7 $write = null;
15 stream_select($read, $write, $except, null, null);
20 stream_select($read, $write, $except, null, 0);
22 stream_select($read, $write, $except, null, 1);
H A Dbug69521.phpt22 $read = $write = array($fp);
25 $write = array();
27 $changed = stream_select($read, $write, $except, 0, 500000);
H A Dstream_select_preserve_keys.phpt7 $write = NULL;
11 stream_select($read, $write, $except, 0);
14 stream_select($read, $write, $except, 0); // // emulate_read
H A Dstream_set_chunk_size.phpt18 echo "write with size: ", strlen($data), "\n";
72 write with size: 1
73 write with size: 1
74 write with size: 1
87 write with size: 100
88 write with size: 100
89 write with size: 50
/php-src/ext/gd/tests/
H A Dcreatefromwbmp2.phpt17 //write header
22 //write width = 2^32 / 4 + 1
32 /*write height = 4*/
36 /*write some data to cause overflow*/
H A Dcreatefromwbmp2_extern.phpt17 //write header
22 //write width = 2^32 / 4 + 1
32 /*write height = 4*/
36 /*write some data to cause overflow*/
/php-src/ext/opcache/tests/
H A Dfile_cache_error.phpt16 // Allow gcov to write to file
38 // Will attempt to write to cache file, and fail
41 // Allow gcov to write to file
46 %sWarning opcache cannot write to file %s: %s
/php-src/ext/phar/tests/cache_list/
H A Dcopyonwrite1.phar.phpt2 Phar: copy-on-write test 1 [cache_list]
10 files/write.phar

Completed in 30 milliseconds

12345678910>>...23