/PHP-8.0/ext/filter/tests/ |
H A D | 028.phpt | 9 var_dump(filter_var("<data&sons>", FILTER_SANITIZE_SPECIAL_CHARS)); 13 var_dump(filter_var("<data&sons>", FILTER_SANITIZE_SPECIAL_CHARS, FILTER_FLAG_ENCODE_LOW)); 17 var_dump(filter_var("<data&sons>", FILTER_SANITIZE_SPECIAL_CHARS, FILTER_FLAG_ENCODE_HIGH)); 27 string(23) "<data&sons>" 30 string(23) "<data&sons>" 33 string(23) "<data&sons>"
|
/PHP-8.0/ext/standard/tests/serialize/ |
H A D | bug72663_2.phpt | 7 public $data; 9 return serialize($this->data); 11 function unserialize($data) { 12 $this->data = unserialize($data); 22 Notice: unserialize(): Unexpected end of serialized data in %s on line %d
|
H A D | bug70219.phpt | 10 var $data; 12 return serialize($this->data); 14 function unserialize($data) { 16 session_decode($data); 23 $data = unserialize($exploit); 29 var_dump($data);
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | bug44034.phpt | 9 $urls[] = "data://text/plain,foo\r\nbar\r\n"; 10 $urls[] = "data://text/plain,\r\nfoo\r\nbar\r\n"; 11 $urls[] = "data://text/plain,foo\r\nbar"; 19 data://text/plain,foo\r\nbar\r\n 26 data://text/plain,\r\nfoo\r\nbar\r\n 35 data://text/plain,foo\r\nbar
|
H A D | symlink_link_linkinfo_is_link_variation4.phpt | 6 Access data of the file through the hard link 13 // Creating file and inserting data into it 17 // fill data into file 21 echo "\n-- Access data of the file through the hard link --\n"; 34 echo "\n-- Updating file with data through hard link --\n"; 35 // append link with data 50 echo "\n-- Updating file with data and check data through hard link --\n"; 56 // now check link for data; it should echo "Hello World" 78 -- Access data of the file through the hard link -- 86 -- Updating file with data through hard link -- [all …]
|
H A D | bug44607.phpt | 7 $data = str_repeat('.', 14000); 8 $data .= $eol; 9 $data .= $data; 10 file_put_contents($tempnam, $data);
|
H A D | bug39538.phpt | 5 …an test\", \"next data\", \"p\narsed\"","\"\r\nthis is an test\", \"next data\", \"p\r\narsed\"","… 20 [1] => next data 28 [1] => next data 37 [1] => next data
|
H A D | stream_rfc2397_006.phpt | 9 "data:;base64,\0Zm9vYmFyIGZvb2Jhcg==", 10 "data:;base64,Zm9vYmFy\0IGZvb2Jhcg==", 11 'data:;base64,#Zm9vYmFyIGZvb2Jhcg==', 12 'data:;base64,#Zm9vYmFyIGZvb2Jhc=', 29 Warning: file_get_contents(data:;base64,#Zm9vYmFyIGZvb2Jhcg==): Failed to open stream: rfc2397: una… 32 Warning: file_get_contents(data:;base64,#Zm9vYmFyIGZvb2Jhc=): Failed to open stream: rfc2397: unabl…
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | php_strip_whitespace.phpt | 10 $data = '/* test comment */'; 11 file_put_contents($filename, $data); 14 $data = '<?php /* test comment */ ?>'; 15 file_put_contents($filename, $data); 18 $data = '<?php 35 file_put_contents($filename, $data);
|
H A D | bug72663.phpt | 6 var $data; 8 return serialize($this->data); 10 function unserialize($data) { 11 $this->data = unserialize($data); 22 Notice: unserialize(): Unexpected end of serialized data in %sbug72663.php on line %d
|
/PHP-8.0/ext/hash/sha3/generic64lc/ |
H A D | KeccakP-1600-SnP.h | 38 void KeccakP1600_AddByte(void *state, unsigned char data, unsigned int offset); 40 void KeccakP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int… 41 void KeccakP1600_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsign… 46 void KeccakP1600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned… 48 size_t KeccakF1600_FastLoop_Absorb(void *state, unsigned int laneCount, const unsigned char *data, …
|
/PHP-8.0/ext/standard/tests/array/ |
H A D | array_walk.phpt | 13 var_dump(array_walk($var, "foo", "data")); 20 var_dump(array_walk($var,"foo2", "data")); 30 string(4) "data" 33 string(4) "data" 35 string(4) "data"
|
/PHP-8.0/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf32.c | 179 CK((*filter->output_function)(0xfeff, filter->data)); in mbfl_filt_conv_utf32_wchar() 183 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32_wchar() 186 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32_wchar() 218 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32be_wchar() 221 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32be_wchar() 235 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32be() 236 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32be() 267 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32le_wchar() 270 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32le_wchar() 282 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32le() [all …]
|
/PHP-8.0/ext/xml/tests/ |
H A D | xml001.phpt | 24 while ($data = fread($fp, 4096)) { 25 if (!xml_parse($xml_parser, $data, feof($fp))) { 50 function characterData($parser, $data) 52 print '{CDATA['.$data.']}'; 55 function PIHandler($parser, $target, $data) 57 print '{PI['.$target.','.$data.']}'; 60 function defaultHandler($parser, $data) 62 if (substr($data, 0, 1) == "&" && substr($data, -1, 1) == ";") { 63 print '{ENTREF['.$data.']}'; 65 print '{?['.$data.']}';
|
H A D | xml003.phpt | 28 function characterData($parser, $data) 30 print '{CDATA['.$data.']}'; 32 function PIHandler($parser, $target, $data) 34 print '{PI['.$target.','.$data.']}'; 36 function defaultHandler($parser, $data) 38 if (substr($data, 0, 1) == "&" && substr($data, -1, 1) == ";") { 39 print '{ENTREF['.$data.']}'; 41 print '{?['.$data.']}'; 65 while ($data = fread($fp, 4096)) { 66 if (!xml_parse($xml_parser, $data, feof($fp))) {
|
/PHP-8.0/ext/ctype/tests/ |
H A D | ctype_cntrl_variation1.phpt | 2 Test ctype_cntrl() function : usage variations - Different data types as $c arg 8 * Pass different data types as $c argument to ctype_cntrl() to test behaviour 38 // int data 44 // float data 51 // null data 55 // boolean data 61 // empty data 66 // string data 72 // object data 75 // undefined data [all …]
|
H A D | ctype_print_variation1.phpt | 2 Test ctype_print() function : usage variations - different data types as $c arg 8 * Pass different data types as $c argument to ctype_print() to test behaviour 38 // int data 44 // float data 51 // null data 55 // boolean data 61 // empty data 66 // string data 71 // object data 74 // undefined data [all …]
|
H A D | ctype_space_variation1.phpt | 2 Test ctype_space() function : usage variations - different data types as $c argument 8 * Pass different data types as $c argument to ctype_space() to test behaviour 38 // int data 44 // float data 51 // null data 55 // boolean data 61 // empty data 66 // string data 71 // object data 74 // undefined data [all …]
|
/PHP-8.0/ext/standard/tests/filters/ |
H A D | chunked_001.phpt | 13 "data://text/plain,0\r\n", 14 "data://text/plain,2\r\nte\r\n2\r\nst\r\n0\r\n", 15 "data://text/plain,2\nte\n2\nst\n0\n", 16 "data://text/plain,2;a=1\nte\n2;a=2;b=3\r\nst\n0\n", 17 "data://text/plain,2\nte\n2\nst\n0\na=b\r\nc=d\n\r\n", 18 "data://text/plain,1f\n0123456789abcdef0123456789abcde\n1\nf\n0\n", 19 "data://text/plain,1E\n0123456789abcdef0123456789abcd\n2\nef\n0\n",
|
H A D | filter_errors_zlib_inflate.phpt | 11 test filtering of buffered data 13 Notice: stream_filter_append(): zlib: data error in %s on line %d 15 Warning: stream_filter_append(): Filter failed to process pre-buffered data in %s 16 test filtering of non buffered data 18 Notice: stream_get_contents(): zlib: data error in %s on line %d
|
/PHP-8.0/Zend/tests/ |
H A D | ArrayAccess_indirect_append.phpt | 7 private $data = []; 10 return $this->data[]; 12 return $this->data[$name]; 16 $this->data[$name] = $value; 30 ["data":"AA":private]=>
|
/PHP-8.0/ext/standard/tests/general_functions/ |
H A D | escapeshellarg_variation1.phpt | 2 Test escapeshellarg() function : usage variations - different data types as $y arg 28 // int data 35 // float data 42 // null data 46 // boolean data 52 // empty data 56 // undefined data 59 // unset data
|
/PHP-8.0/ext/openssl/tests/ |
H A D | openssl_verify_basic.phpt | 7 $data = "Testing openssl_verify()"; 12 openssl_sign($data, $sign, $privkey); 13 var_dump(openssl_verify($data, $sign, $pubkey)); 14 var_dump(openssl_verify($data, $sign, $privkey)); 15 var_dump(openssl_verify($data, $sign, $wrong)); 16 var_dump(openssl_verify($data, $wrong, $pubkey));
|
/PHP-8.0/ext/standard/tests/math/ |
H A D | pow_variation1_64bit.phpt | 2 Test pow() function : usage variations - different data types as $base argument 32 // int data 39 // float data 46 // null data 50 // boolean data 56 // empty data 61 // string data 66 // object data 69 // undefined data 72 // unset data
|
H A D | pow_variation2.phpt | 2 Test pow() function : usage variations - different data types as $exp argument 28 // int data 35 // float data 42 // null data 46 // boolean data 52 // empty data 57 // string data 62 // object data 65 // undefined data 68 // unset data
|