Home
last modified time | relevance | path

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

12345678910>>...23

/PHP-8.2/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-8.2/ext/session/tests/
H A Dbug60634_error_2.phpt2 …4 (Segmentation fault when trying to die() in SessionHandler::write()) - exception in write during…
29 function write($id, $session_data) {
30 echo "write: goodbye cruel world\n";
42 session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
49 write: goodbye cruel world
53 #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 …
29 function write($id, $session_data) {
30 echo "write: goodbye cruel world\n";
42 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…
29 function write($id, $session_data) {
30 echo "write: goodbye cruel world\n";
42 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_1.phpt2 … (Segmentation fault when trying to die() in SessionHandler::write()) - fatal error in write durin…
29 function write($id, $session_data) {
30 echo "write: goodbye cruel world\n";
42 session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
54 write: goodbye cruel world
58 #0 [internal function]: write(%s, '')
H A Dbug60634.phpt2 Bug #60634 (Segmentation fault when trying to die() in SessionHandler::write())
28 function write($id, $session_data) {
29 die("write: goodbye cruel world\n");
40 session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
47 write: goodbye cruel world
H A Dsession_set_save_handler_class_011.phpt28 public function write($id, $data): bool {
30 echo "(#$this->num) destroyed, cannot write\n";
34 return parent::write($id, $data);
39 echo "(#$this->num) destroyed, cannot write\n";
61 (#1) destroyed, cannot write
62 (#1) destroyed, cannot write
H A Dgh7787.phpt26 public function write($sessid, $sessdata): bool {
84 …ite_close(): Failed to write session data using user defined save handler. (session.save_path: , h…
86 Warning: session_write_close(): Failed to write session data using user defined save handler. (sess…
88 …ession_write_close(): Failed to write session data using user defined save handler. (session.save_…
90 Warning: session_write_close(): Failed to write session data using user defined save handler. (sess…
H A Dsession_set_save_handler_variation6.phpt19 echo "*** Testing session_set_save_handler() : test write short circuit ***\n";
25 session_set_save_handler("open", "close", "read", "write", "destroy", "gc", "create_sid", "validate…
40 session_set_save_handler("open", "close", "read", "write", "destroy", "gc", "create_sid", "validate…
48 session_set_save_handler("open", "close", "read", "write", "destroy", "gc", "create_sid", "validate…
51 // $_SESSION should be the same and should skip write()
62 *** Testing session_set_save_handler() : test write short circuit ***
/PHP-8.2/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";
33 The first string to write, followed by this
35 The first string to write
/PHP-8.2/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-8.2/ext/dom/tests/
H A Dproperty_write_errors.phpt2 Test property write errors
52 Cannot write read-only property DOMDocument::$nodeType
53 Cannot write read-only property DOMDocument::$xmlEncoding
54 Cannot write read-only property DOMEntity::$actualEncoding
55 Cannot write read-only property DOMEntity::$encoding
56 Cannot write read-only property DOMEntity::$version
/PHP-8.2/ext/opcache/jit/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-8.2/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-8.2/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-8.2/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-8.2/ext/oci8/tests/
H A Dlob_039.phpt2 Test CLOB->write() for multiple inserts
32 var_dump($clob->write("clob test 1"));
35 var_dump($clob->write("clob test 2"));
38 var_dump($clob->write("clob test 3"));
H A Dlob_032.phpt28 oci_commit($c); // This will cause subsequent ->write() to fail
29 $clob->write("data");
37 Warning: OCILob::write(): ORA-22990: %s in %s on line 19
/PHP-8.2/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

Completed in 97 milliseconds

12345678910>>...23