/PHP-7.4/ext/standard/tests/array/ |
H A D | 003.phpt | 7 require(__DIR__ . '/data.inc'); 18 uasort ($data, 'cmp'); 19 var_dump ($data); 23 uksort ($data, 'cmp'); 24 var_dump ($data); 27 usort ($data, 'cmp'); 28 var_dump ($data);
|
H A D | array_walk_recursive1.phpt | 19 var_dump(array_walk_recursive($var, "foo", "data")); 26 var_dump(array_walk_recursive($var,"foo2", "data")); 44 string(4) "data" 47 string(4) "data" 50 string(4) "data" 53 string(4) "data" 55 string(4) "data"
|
/PHP-7.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_htmlent.c | 104 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_enc() 106 CK((*filter->output_function)('&', filter->data)); in mbfl_filt_conv_html_enc() 121 CK((*filter->output_function)('#', filter->data)); in mbfl_filt_conv_html_enc() 132 CK((*filter->output_function)(*p, filter->data)); in mbfl_filt_conv_html_enc() 136 CK((*filter->output_function)(';', filter->data)); in mbfl_filt_conv_html_enc() 147 (*filter->flush_function)(filter->data); in mbfl_filt_conv_html_enc_flush() 186 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_dec() 229 CK((*filter->output_function)(ent, filter->data)); in mbfl_filt_conv_html_dec() 234 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_dec() 251 CK((*filter->output_function)(ent, filter->data)); in mbfl_filt_conv_html_dec() [all …]
|
H A D | mbfilter_euc_jp_win.c | 115 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 126 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 167 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 169 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 174 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 182 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 184 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 189 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 195 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 238 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() [all …]
|
/PHP-7.4/ext/dba/ |
H A D | dba_db4.c | 129 dba_db4_data *data; local 131 data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT); 132 data->dbp = dbp; 134 info->dbf = data; 172 free(gval.data); 209 free(gval.data); 255 if (gkey.data) { 260 if (gkey.data) { 261 free(gkey.data); 263 if (gval.data) { [all …]
|
/PHP-7.4/tests/basic/ |
H A D | rfc1867_missing_boundary.phpt | 6 Content-Type: multipart/form-data 8 Content-Disposition: form-data; name="foobar" 18 Warning: Missing boundary in multipart/form-data POST data in %s
|
H A D | rfc1867_invalid_boundary.phpt | 6 Content-Type: multipart/form-data; boundary="foobar 8 Content-Disposition: form-data; name="foobar" 18 Warning: Invalid boundary in multipart/form-data POST data in %s
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | unpack_offset.phpt | 5 $data = "pad" . pack("ll", 0x01020304, 0x05060708); 7 $a = unpack("l2", $data, 3); 11 unpack("l", $data, 3)[1], 12 unpack("@4/l", $data, 3)[1]);
|
H A D | php_strip_whitespace.phpt | 11 $data = '/* test comment */'; 12 file_put_contents($filename, $data); 15 $data = '<?php /* test comment */ ?>'; 16 file_put_contents($filename, $data); 19 $data = '<?php 36 file_put_contents($filename, $data);
|
/PHP-7.4/Zend/tests/generators/ |
H A D | throw_into_yield_from_array.phpt | 6 $data = [1, 2, 3]; 28 $yfiter = yf($data); 29 $yfgen = yf(yielditer($data)); 31 test(yf($data)); 33 test(yf(yielditer($data)));
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | stream_rfc2397_006.phpt | 9 "data:;base64,\0Zm9vYmFyIGZvb2Jhcg==", 10 "data:;base64,Zm9vYmFy\0IGZvb2Jhcg==", 11 'data:;base64,#Zm9vYmFyIGZvb2Jhcg==', 12 'data:;base64,#Zm9vYmFyIGZvb2Jhc=', 30 Warning: file_get_contents(data:;base64,#Zm9vYmFyIGZvb2Jhcg==): failed to open stream: rfc2397: una… 33 Warning: file_get_contents(data:;base64,#Zm9vYmFyIGZvb2Jhc=): failed to open stream: rfc2397: unabl…
|
H A D | fgets_socket_variation2.phpt | 2 fgets() over a socket with more than a buffer's worth of data 12 // populate the file with lines of data 38 echo "Write data from the file:\n"; 39 $data = file_get_contents($filename); 42 var_dump(fwrite($socket, $data)); 53 echo "\nClose the server side socket and read the remaining data from the client\n"; 63 Write data from the file: 68 Close the server side socket and read the remaining data from the client
|
/PHP-7.4/ext/session/tests/ |
H A D | session_cache_expire_error.phpt | 38 // Integer data 44 // Float data 51 // Null data 55 // Boolean data 65 // Invalid string data 70 // Object data 73 // Undefined data 76 // Unset data
|
/PHP-7.4/ext/simplexml/tests/ |
H A D | sxe_003.phpt | 20 Here we have some text data. 40 foreach($sxe->getChildren() as $name => $data) { 42 var_dump(get_class($data)); 43 var_dump(trim($data)); 52 foreach($sxe->getChildren() as $name => $data) { 54 var_dump(get_class($data)); 55 var_dump(trim($data)); 69 string(28) "Here we have some text data."
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | escapeshellarg_variation1-win32.phpt | 2 Test escapeshellarg() function : usage variations - different data types as $arg arg 33 // int data 40 // float data 47 // null data 51 // boolean data 57 // empty data 61 // undefined data 64 // unset data
|
H A D | escapeshellarg_variation1.phpt | 2 Test escapeshellarg() function : usage variations - different data types as $y arg 33 // int data 40 // float data 47 // null data 51 // boolean data 57 // empty data 61 // undefined data 64 // unset data
|
/PHP-7.4/ext/phar/ |
H A D | stream.c | 382 php_stream_seek(data->fp, data->position + data->zero, SEEK_SET); in phar_stream_read() 385 data->position = php_stream_tell(data->fp) - data->zero; in phar_stream_read() 413 temp = data->zero + data->position + offset; in phar_stream_seek() 425 if (temp < data->zero) { in phar_stream_seek() 430 *newoffset = php_stream_tell(data->fp) - data->zero; in phar_stream_seek() 443 php_stream_seek(data->fp, data->position, SEEK_SET); in phar_stream_write() 448 data->position = php_stream_tell(data->fp); in phar_stream_write() 449 if (data->position > (zend_off_t)data->internal_file->uncompressed_filesize) { in phar_stream_write() 450 data->internal_file->uncompressed_filesize = data->position; in phar_stream_write() 453 data->internal_file->old_flags = data->internal_file->flags; in phar_stream_write() [all …]
|
/PHP-7.4/ext/standard/tests/math/ |
H A D | abs_variation.phpt | 2 Test abs() function : usage variations - different data types as $number arg 11 * Pass different data types as $number argument to abs() to test behaviour 39 // null data 43 // boolean data 49 // empty data 54 // string data 59 // object data 62 // undefined data 65 // unset data
|
H A D | dechex_variation1.phpt | 2 Test dechex() function : usage variations - different data types as $number arg 36 // int data 44 // float data 51 // null data 55 // boolean data 61 // empty data 66 // string data 71 // object data 74 // undefined data 77 // unset data
|
H A D | dechex_variation1_64bit.phpt | 2 Test dechex() function : usage variations - different data types as $number arg 36 // int data 44 // float data 51 // null data 55 // boolean data 61 // empty data 66 // string data 71 // object data 74 // undefined data 77 // unset data
|
H A D | decoct_variation1.phpt | 2 Test decoct() function : usage variations - different data types as $number arg 37 // int data 45 // float data 52 // null data 56 // boolean data 62 // empty data 67 // string data 72 // object data 75 // undefined data 78 // unset data
|
H A D | decoct_variation1_64bit.phpt | 2 Test decoct() function : usage variations - different data types as $number arg 37 // int data 45 // float data 52 // null data 56 // boolean data 62 // empty data 67 // string data 72 // object data 75 // undefined data 78 // unset data
|
/PHP-7.4/ext/ffi/tests/ |
H A D | list.phpt | 19 int data; 26 $node->data = 0; 43 function add(int $data) { 45 $node->data = $data; 52 function del(int $data) { 56 if ($node->data == $data) { 77 echo $node->data;
|
/PHP-7.4/ext/spl/tests/ |
H A D | bug72051.phpt | 6 $data = [ 10 $callbackTest = new CallbackFilterIterator(new ArrayIterator($data), function (&$current) { 16 $data = $callbackTest->current(); 18 print_r($data);
|
/PHP-7.4/ext/hash/sha3/generic32lc/ |
H A D | KeccakP-1600-SnP.h | 28 void KeccakP1600_AddByte(void *state, unsigned char data, unsigned int offset); 29 void KeccakP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int… 30 void KeccakP1600_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsign… 35 void KeccakP1600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned…
|