/PHP-8.1/ext/openssl/tests/ |
H A D | openssl_public_encrypt_basic.phpt | 7 $data = "Testing openssl_public_encrypt()"; 19 var_dump(openssl_public_encrypt($data, $encrypted, $pubkey)); 20 var_dump(openssl_public_encrypt($data, $encrypted, $privkey)); 21 var_dump(openssl_public_encrypt($data, $encrypted, $wrong)); 22 var_dump(openssl_public_encrypt($data, $encrypted, $obj));
|
H A D | openssl_seal_basic.phpt | 23 $data = "openssl_open() test"; 27 var_dump(openssl_seal($data, $sealed, $ekeys, array($pub_key), $method)); // no output 28 var_dump(openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), $method)); // no output 29 var_dump(openssl_seal($data, $sealed, $ekeys, array($pub_key, $wrong), $method)); 32 var_dump(openssl_seal($data, $sealed, $ekeys, array(), $method)); 37 var_dump(openssl_seal($data, $sealed, $ekeys, array($wrong), $method));
|
H A D | bug48182.phpt | 26 $data = "Sending bug48182\n" . fread($client, 8192); 27 fwrite($client, $data); 43 $data = "Sending data over to SSL server in async mode with contents like Hello World\n"; 45 fwrite($client, $data); 68 Sending data over to SSL server in async mode with contents like Hello World
|
/PHP-8.1/tests/basic/ |
H A D | bug55500.phpt | 9 Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737 11 Content-Disposition: form-data; name="file[]"; filename="file1.txt" 16 Content-Disposition: form-data; name="file[[type]"; filename="file2.txt" 21 Content-Disposition: form-data; name="file[[name]"; filename="file3.txt" 26 Content-Disposition: form-data; name="file[name]["; filename="file4.txt"
|
/PHP-8.1/ext/standard/tests/general_functions/ |
H A D | escapeshellarg_variation1-win32.phpt | 2 Test escapeshellarg() function : usage variations - different data types as $arg arg 24 // int data 31 // float data 38 // boolean data 44 // empty data
|
H A D | escapeshellarg_variation1.phpt | 2 Test escapeshellarg() function : usage variations - different data types as $y arg 24 // int data 31 // float data 38 // boolean data 44 // empty data
|
H A D | bug41445.phpt | 8 $data = <<<DATA 16 file_put_contents($file, $data); 21 $data = <<<DATA 29 file_put_contents($file, $data);
|
/PHP-8.1/Zend/tests/generators/ |
H A D | send_returns_current.phpt | 7 $data = yield; 9 $data = (yield strrev($data));
|
/PHP-8.1/ext/zlib/tests/ |
H A D | bug_52944.phpt | 2 Bug #52944 (segfault with zlib filter and corrupted data) 15 $fp = fopen('data://text/plain;base64,' . $data, 'r'); 23 Notice: fread(): zlib: data error in %s on line %d
|
H A D | gzuncompress_error1.phpt | 10 $data = 'string_val'; 11 $short_len = strlen($data) - 1; 12 $compressed = gzcompress($data); 30 Warning: gzuncompress(): data error in %s on line %d
|
/PHP-8.1/ext/standard/tests/streams/ |
H A D | bug60817.phpt | 2 Bug #60817: stream_get_line() reads from stream even when there is already sufficient data buffered 5 class TestStream { //data, empty data, empty data + eof
|
/PHP-8.1/ext/standard/tests/serialize/ |
H A D | bug69425.phpt | 17 $data = unserialize('a:2:{i:0;O:4:"test":1:{s:4:"ryat";R:1;}i:1;i:2;}'); 18 var_dump($data); 21 $data = unserialize('a:2:{i:0;O:12:"DateInterval":1:{s:1:"y";R:1;}i:1;i:2;}'); 22 var_dump($data);
|
/PHP-8.1/Zend/tests/ |
H A D | gh9775_2.phpt | 20 $data = [ 33 $data = array_unique($data, flags: SORT_REGULAR); 35 var_dump($data);
|
H A D | magic_methods_021.phpt | 7 public static function __set_state(array $data): self {} 11 public static function __set_state(array $data): static {} 15 public static function __set_state(array $data): Foo3|self {}
|
/PHP-8.1/ext/standard/tests/array/ |
H A D | 001.phpt | 7 require(__DIR__ . '/data.inc'); 10 ** Test alpha, numeric (decimal, hex, octal) and special data 33 $data = array_merge($data, $data2); 35 var_dump ($data); 43 array_walk ($data, 'echo_kv');
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | file_variation.phpt | 7 $data_array = array( "Garbage data", "Gar\nba\nge d\nata", "Gar\n\nbage \n\n data" ); 8 echo "*** Using various flags values with different data in a file\n"; 11 foreach( $data_array as $data ) { 14 fwrite($fh, $data); 62 *** Using various flags values with different data in a file 66 string(12) "Garbage data" 70 string(12) "Garbage data" 107 string(5) " data" 123 string(5) " data"
|
H A D | fwrite_error.phpt | 12 $data = "data"; 17 var_dump( fwrite($file_handle, $data, $len) ); 19 var_dump( fwrite($file_handle, $data, $len) ); 25 var_dump(fwrite($file_handle,"data"));
|
H A D | ftruncate.phpt | 8 file_put_contents($filename, "some test data inside"); 20 file_put_contents($filename, "some test data inside"); 32 file_put_contents($filename, "some test data inside"); 48 string(21) "some test data inside" 56 string(21) "some test data inside"
|
H A D | file_put_contents_variation7.phpt | 42 $data = "This was the written data"; 48 $res = file_put_contents($dir."/".$filename, ($data . $i)); 51 if ($in == ($data . $i)) { 60 echo "No data written\n"; 89 No data written 94 No data written 111 No data written
|
/PHP-8.1/ext/dom/tests/ |
H A D | domchardata.phpt | 22 $comment = new DOMComment('Testing character data and extending nodes'); 27 $comment->data = 'Updated comment'; 29 echo "New Comment Data: ".$comment->data."\n"; 41 echo "Comment Value: ".$comment->data."\n"; 42 $comment->data = 'some more instructions'; 43 echo "New Comment Value: ".$comment->data."\n"; 51 echo "Updated Comment Value: ".$comment->data."\n";
|
/PHP-8.1/ext/xml/tests/ |
H A D | bug26614_libxml_gte2_11.phpt | 27 <data> 34 </data>'; 38 <data> 45 </data>'; 47 // Case 3: replace even more characters so that only textual data is left 49 <data> 56 </data>'; 72 function characterData($parser, $data) {
|
H A D | bug26614_libxml_pre2_11.phpt | 27 <data> 34 </data>'; 38 <data> 45 </data>'; 47 // Case 3: replace even more characters so that only textual data is left 49 <data> 56 </data>'; 72 function characterData($parser, $data) {
|
/PHP-8.1/main/ |
H A D | output.c | 814 efree(context->in.data); in php_output_context_feed() 816 context->in.data = data; in php_output_context_feed() 828 efree(context->in.data); in php_output_context_swap() 830 context->in.data = context->out.data; in php_output_context_swap() 834 context->out.data = NULL; in php_output_context_swap() 845 context->out.data = context->in.data; in php_output_context_pass() 849 context->in.data = NULL; in php_output_context_pass() 861 efree(context->in.data); in php_output_context_dtor() 862 context->in.data = NULL; in php_output_context_dtor() 903 memcpy(handler->buffer.data + handler->buffer.used, buf->data, buf->used); in php_output_handler_append() [all …]
|
/PHP-8.1/ext/standard/tests/math/ |
H A D | abs_variation.phpt | 2 Test abs() function : usage variations - different data types as $number arg 6 * Pass different data types as $number argument to abs() to test behaviour 34 // null data 38 // boolean data 44 // empty data 49 // string data 54 // object data 57 // undefined data 60 // unset data
|
/PHP-8.1/sapi/fpm/tests/ |
H A D | response.inc | 12 private $data; 45 * @param string|array|null $data 50 if ( ! is_array($data)) { 51 $data = [ 52 'response' => $data, 54 'out_response' => $data, 58 $this->data = $data; 106 $data = json_decode($rawData, true); 107 if (empty($data['processes']) || !is_array($data['processes'])) { 262 return $this->data['err_response']; [all …]
|