Home
last modified time | relevance | path

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

12345678910>>...22

/PHP-7.4/ext/session/tests/
H A Dbug60634.phpt2 Bug #60634 (Segmentation fault when trying to die() in SessionHandler::write())
26 function write($id, $session_data) {
27 die("write: goodbye cruel world\n");
38 session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
44 * write() calls die(). This results in calling session_flush() which calls
45 * write() in request shutdown. The code is inside save handler still and
48 * Because session_write_close() fails by die(), write() is called twice.
54 write: goodbye cruel world
58 Warning: Unknown: Failed to write session data using user defined save handler. (session.save_path:…
H A Dbug60634_error_2.phpt2 …4 (Segmentation fault when trying to die() in SessionHandler::write()) - exception in write during…
27 function write($id, $session_data) {
28 echo "write: goodbye cruel world\n";
40 session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
47 write: goodbye cruel world
51 #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');
45 write: goodbye cruel world
49 #0 [internal function]: write(%s, '')
H A Dbug60634_error_4.phpt2 …4 (Segmentation fault when trying to die() in SessionHandler::write()) - exception 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');
45 write: goodbye cruel world
49 #0 [internal function]: write('%s', '')
H A Dbug60634_error_1.phpt2 … (Segmentation fault when trying to die() in SessionHandler::write()) - fatal error in write durin…
27 function write($id, $session_data) {
28 echo "write: goodbye cruel world\n";
40 session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
52 write: goodbye cruel world
56 #0 [internal function]: write(%s, '')
H A Dsession_set_save_handler_class_011.phpt32 public function write($id, $data) {
34 echo "(#$this->num) destroyed, cannot write\n";
38 return parent::write($id, $data);
43 echo "(#$this->num) destroyed, cannot write\n";
65 (#1) destroyed, cannot write
66 (#1) destroyed, cannot write
H A Dsession_set_save_handler_variation6.phpt18 …t_save_handler(callback $open, callback $close, callback $read, callback $write, callback $destroy…
23 echo "*** Testing session_set_save_handler() : test write short circuit ***\n";
28 session_set_save_handler("open", "close", "read", "write", "destroy", "gc", "create_sid", "validate…
43 session_set_save_handler("open", "close", "read", "write", "destroy", "gc", "create_sid", "validate…
51 session_set_save_handler("open", "close", "read", "write", "destroy", "gc", "create_sid", "validate…
54 // $_SESSION should be the same and should skip write()
64 *** Testing session_set_save_handler() : test write short circuit ***
/PHP-7.4/ext/libxml/tests/
H A Dbug61367-write.phpt2 Bug #61367: open_basedir bypass in libxml RSHUTDOWN: write test
22 var_dump(mkdir('test_bug_61367-write'));
23 var_dump(mkdir('test_bug_61367-write/base'));
24 var_dump(file_put_contents('test_bug_61367-write/bad', 'blah'));
25 var_dump(chdir('test_bug_61367-write/base'));
33 @unlink('test_bug_61367-write/bad');
34 rmdir('test_bug_61367-write/base');
35 rmdir('test_bug_61367-write');
/PHP-7.4/ext/standard/tests/file/
H A Dcopy_variation9.phpt16 /* Test copy(): Trying to copy source file to destination file with and without write permissions */
20 echo "*** Test copy() function: destination with/without write permissions ***\n";
29 echo "\n-- With write permissions --\n";
35 echo "\n-- Without write permissions --\n";
36 chmod($file_path."/copy_copy_variation9.tmp", 0555); //No write permissions
50 *** Test copy() function: destination with/without write permissions ***
52 -- With write permissions --
58 -- Without write permissions --
H A Dfile_put_contents_variation8-win32.phpt46 echo "Failed to write data to: $key\n";
64 Failed to write data to: FALSE
69 Failed to write data to: NULL
74 Failed to write data to: ""
79 Failed to write data to: " "
84 Failed to write data to: \0
89 Failed to write data to: array()
94 Failed to write data to: /no/such/file/dir
99 Failed to write data to: php/php
H A Dfwrite_variation1-win32-mb.phpt88 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
94 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
104 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
110 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
120 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
126 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
138 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
144 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
154 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
160 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
[all …]
H A Dfwrite_variation1.phpt80 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
86 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
96 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
102 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
112 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
118 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
130 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
136 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
146 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
152 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
[all …]
H A Dfile_put_contents_variation8.phpt52 echo "Failed to write data to: $names_arr[$i]\n";
68 Failed to write data to:
72 Failed to write data to:
76 Failed to write data to:
82 Failed to write data to: �
88 Failed to write data to: Array
92 Failed to write data to: %sdir
96 Failed to write data to: %sphp
/PHP-7.4/ext/shmop/tests/
H A Dshmop_open_private.phpt9 $write = 'test';
12 shmop_write($shm1, $write, 0);
17 var_dump(is_string($read) && $read !== $write);
/PHP-7.4/ext/standard/tests/streams/
H A Dbug69521.phpt22 $read = $write = array($fp);
25 $write = array();
27 $changed = stream_select($read, $write, $except, 0, 500000);
/PHP-7.4/ext/dba/tests/
H A Ddba_db1.phpt20 Read during write: not allowed
22 Failed to write "key number 6" 2nd time
37 Read during write: not allowed
39 Failed to write "key number 6" 2nd time
H A Ddba_db2.phpt20 Read during write: not allowed
22 Failed to write "key number 6" 2nd time
37 Read during write: not allowed
39 Failed to write "key number 6" 2nd time
H A Ddba_db3.phpt20 Read during write: not allowed
22 Failed to write "key number 6" 2nd time
37 Read during write: not allowed
39 Failed to write "key number 6" 2nd time
H A Ddba_ndbm.phpt20 Read during write: not allowed
22 Failed to write "key number 6" 2nd time
37 Read during write: not allowed
39 Failed to write "key number 6" 2nd time
H A Ddba_db4_000.phpt24 Read during write: not allowed
26 Failed to write "key number 6" 2nd time
41 Read during write: not allowed
43 Failed to write "key number 6" 2nd time
H A Ddba_dbm.phpt24 Read during write: not allowed
26 Failed to write "key number 6" 2nd time
41 Read during write: not allowed
43 Failed to write "key number 6" 2nd time
H A Ddba_flatfile.phpt24 Read during write: not allowed
26 Failed to write "key number 6" 2nd time
41 Read during write: not allowed
43 Failed to write "key number 6" 2nd time
/PHP-7.4/ext/sockets/tests/
H A Dsocket_select-wrongparams-2.phpt11 $write = null;
14 var_dump(socket_select($sockets, $write, $except, $time));
15 socket_select($sockets, $write, $except);
/PHP-7.4/ext/oci8/tests/
H A Dlob_014.phpt28 var_dump($blob->write("test"));
30 var_dump($blob->write("test"));
32 var_dump($blob->write("test"));
53 Warning: OCI-Lob::write(): %s is not a valid oci8 descriptor resource in %slob_014.php on line %d
H A Dlob_039.phpt2 Test CLOB->write() for multiple inserts
30 var_dump($clob->write("clob test 1"));
33 var_dump($clob->write("clob test 2"));
36 var_dump($clob->write("clob test 3"));

Completed in 86 milliseconds

12345678910>>...22