Home
last modified time | relevance | path

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

12345678910>>...22

/PHP-7.2/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 ***
H A Dsession_set_save_handler_error2.phpt13 …t_save_handler(callback $open, callback $close, callback $read, callback $write, callback $destroy…
23 function write($id, $session_data) { }
27 session_set_save_handler("open", "close", "read", "write", "destroy", "gc");
37 session_set_save_handler("open", "close", "read", "write", "destroy", "gc");
/PHP-7.2/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.2/ext/standard/tests/file/
H A Dcopy_variation9.phpt25 /* Test copy(): Trying to copy source file to destination file with and without write permissions */
29 echo "*** Test copy() function: destination with/without write permissions ***\n";
38 echo "\n-- With write permissions --\n";
44 echo "\n-- Without write permissions --\n";
45 chmod($file_path."/copy_copy_variation9.tmp", 0555); //No write permissions
59 *** Test copy() function: destination with/without write permissions ***
61 -- With write permissions --
67 -- Without write permissions --
H A Dfile_put_contents_variation8-win32.phpt44 echo "Failed to write data to: $key\n";
62 Failed to write data to: FALSE
67 Failed to write data to: NULL
72 Failed to write data to: ""
77 Failed to write data to: " "
82 Failed to write data to: \0
87 Failed to write data to: array()
92 Failed to write data to: /no/such/file/dir
97 Failed to write data to: php/php
H A Dfile_put_contents_variation8.phpt46 echo "Failed to write data to: $names_arr[$i]\n";
61 Failed to write data to:
65 Failed to write data to:
69 Failed to write data to:
75 Failed to write data to: �
81 Failed to write data to: Array
85 Failed to write data to: %sdir
89 Failed to write data to: %sphp
/PHP-7.2/ext/standard/tests/streams/
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
/PHP-7.2/ext/oci8/tests/
H A Dlob_002.phpt29 var_dump($blob->write("test", -1));
30 var_dump($blob->write("test", "str"));
31 var_dump($blob->write("test", 1000000));
32 var_dump($blob->write(str_repeat("test", 10000), 1000000));
65 Warning: OCI-Lob::write() expects parameter 2 to be int%s string given in %slob_002.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"));
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
/PHP-7.2/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_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.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_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
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
/PHP-7.2/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);

Completed in 26 milliseconds

12345678910>>...22