Home
last modified time | relevance | path

Searched refs:data (Results 251 – 275 of 1807) sorted by relevance

1...<<11121314151617181920>>...73

/PHP-8.1/ext/openssl/tests/
H A Dopenssl_public_encrypt_basic.phpt7 $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 Dopenssl_seal_basic.phpt23 $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 Dbug48182.phpt26 $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 Dbug55500.phpt9 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 Descapeshellarg_variation1-win32.phpt2 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 Descapeshellarg_variation1.phpt2 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 Dbug41445.phpt8 $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 Dsend_returns_current.phpt7 $data = yield;
9 $data = (yield strrev($data));
/PHP-8.1/ext/zlib/tests/
H A Dbug_52944.phpt2 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 Dgzuncompress_error1.phpt10 $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 Dbug60817.phpt2 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 Dbug69425.phpt17 $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 Dgh9775_2.phpt20 $data = [
33 $data = array_unique($data, flags: SORT_REGULAR);
35 var_dump($data);
H A Dmagic_methods_021.phpt7 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 D001.phpt7 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 Dfile_variation.phpt7 $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 Dfwrite_error.phpt12 $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 Dftruncate.phpt8 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 Dfile_put_contents_variation7.phpt42 $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 Ddomchardata.phpt22 $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 Dbug26614_libxml_gte2_11.phpt27 <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 Dbug26614_libxml_pre2_11.phpt27 <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 Doutput.c814 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 Dabs_variation.phpt2 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 Dresponse.inc12 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 …]

Completed in 49 milliseconds

1...<<11121314151617181920>>...73