/PHP-5.4/ext/xmlrpc/tests/ |
H A D | bug50761.phpt | 10 <params><param><value><array><data> 13 <member><name>params</name><value><array><data><value><string>A</string> 14 </value></data></array></value></member> 19 </value></data></array></value></member> 21 </data></array></value></param></params> 40 <data> 43 <data> 47 </data> 52 <data> 56 </data> [all …]
|
/PHP-5.4/ext/json/tests/ |
H A D | serialize.phpt | 10 public $data; 12 public function __construct($data) 14 $this->data = $data; 22 return $this->data; 30 return array_values(is_array($this->data) ? $this->data : get_object_vars($this->data)); 64 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}} 65 {"data":["foo",1,2.3,false,null,[1,2,3],{}]} 66 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}} 76 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}} 77 {"data":["foo",1,2.3,false,null,[1,2,3],{}]} [all …]
|
/PHP-5.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_iso2022jp_mobile.c | 162 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 168 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 223 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 227 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 232 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 248 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 265 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 266 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 281 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 282 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() [all …]
|
H A D | mbfilter_utf16.c | 155 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar() 159 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar() 177 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar() 208 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 212 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 216 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 233 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf16be() 237 CK((*filter->output_function)(n & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf16be() 273 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar() 277 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar() [all …]
|
H A D | mbfilter_iso2022_kr.c | 101 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022kr_wchar() 105 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar() 140 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar() 144 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022kr_wchar() 149 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar() 158 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar() 167 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar() 168 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_2022kr_wchar() 178 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar() 247 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_2022kr() [all …]
|
H A D | mbfilter_euc_jp.c | 110 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 121 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 140 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 142 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 147 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 155 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 157 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 162 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 168 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 190 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() [all …]
|
H A D | mbfilter_hz.c | 95 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_hz_wchar() 99 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar() 119 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar() 121 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_hz_wchar() 126 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar() 138 CK((*filter->output_function)(0x007e, filter->data)); in mbfl_filt_conv_hz_wchar() 199 CK((*filter->output_function)(0x7e, filter->data)); in mbfl_filt_conv_wchar_hz() 201 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_hz() 209 CK((*filter->output_function)(s & 0x7f, filter->data)); in mbfl_filt_conv_wchar_hz() 225 CK((*filter->output_function)(0x7e, filter->data)); /* ~ */ in mbfl_filt_conv_any_hz_flush() [all …]
|
/PHP-5.4/ext/standard/ |
H A D | crypt_freesec.c | 349 data->old_rawkey0 = data->old_rawkey1 = 0; in des_init_local() 350 data->saltbits = 0; in des_init_local() 351 data->old_salt = 0; in des_init_local() 353 data->initialized = 1; in des_init_local() 364 data->old_salt = salt; in setup_salt() 480 kl1 = data->en_keysl; in do_des() 481 kr1 = data->en_keysr; in do_des() 487 kl1 = data->de_keysl; in do_des() 488 kr1 = data->de_keysr; in do_des() 666 0, 1, data)) in _crypt_extended_r() [all …]
|
/PHP-5.4/ext/zlib/tests/ |
H A D | gzreadgzwriteplain.phpt | 2 gzopen(), gzread(), gzwrite() for non-compressed data 19 $data = ''; 21 $data .= $buf; 24 if ($data == $original) { 28 var_dump($data); 33 $data = ''; 35 $data .= $buf; 38 var_dump(strlen($data)); 39 if ($data == substr($original, strlen($original) / 2)) { 43 var_dump($data);
|
/PHP-5.4/ext/openssl/tests/ |
H A D | bug48182.phpt | 15 $data = "Sending bug48182\n"; 32 $data .= fread($link, 8192); 37 $wrote = fwrite($link, $data, strlen($data)); 49 $data = "Sending data over to SSL server in async mode with contents like Hello World\n"; 54 while ($socket && $data) { 55 $wrote = fwrite($socket, $data, strlen($data)); 56 $data = substr($data, $wrote); 64 $data .= fread($socket, 1024); 67 echo "$data"; 92 Sending data over to SSL server in async mode with contents like Hello World
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | stream_rfc2397_001.phpt | 2 Stream: RFC2397 getting the data 8 $data = 'data://,hello world'; 10 var_dump(file_get_contents($data)); 12 $file = fopen($data, 'r'); 13 unset($data);
|
H A D | file_put_contents_variation9.phpt | 12 /* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]]) 13 * Description: Write/Create a file with contents data and return the number of bytes written 47 $data = "Here is some data"; 48 $extra = ", more data"; 49 var_dump(file_put_contents($file, $data)); 62 Here is some data, more data 65 Here is some data, more data 68 Here is some data, more data
|
/PHP-5.4/ext/filter/tests/ |
H A D | 017.phpt | 8 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/.*/')))); 9 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/^b(.*)/')))); 10 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/^d(.*)/')))); 11 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/blah/')))); 12 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/\[/')))); 13 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP)); 18 string(4) "data" 20 string(4) "data"
|
H A D | 052.phpt | 2 filter_var() / filter_var_array() and passed data integrity 12 $data = array ('bar' => array ('fu<script>bar', 'bar<script>fu') ); 13 var_dump(filter_var($data, FILTER_SANITIZE_STRING, FILTER_FORCE_ARRAY)); 14 var_dump($data); 15 var_dump(filter_var($data, FILTER_CALLBACK, array('options' => 'filter_cb'))); 16 var_dump($data); 17 var_dump(filter_var_array($data, array('bar' => array('filter' => FILTER_CALLBACK, 'options' => 'fi… 18 var_dump($data);
|
/PHP-5.4/sapi/tests/ |
H A D | test007.phpt | 5 Content-Type=multipart/form-data; boundary=---------------------------240723202011929 10 Content-Disposition: form-data; name="entry" 14 Content-Disposition: form-data; name="password" 18 Content-Disposition: form-data; name="radio1" 22 Content-Disposition: form-data; name="checkbox1" 26 Content-Disposition: form-data; name="choices" 30 Content-Disposition: form-data; name="choices" 34 Content-Disposition: form-data; name="file"; filename="info.php"
|
H A D | test006.phpt | 5 Content-Type=multipart/form-data; boundary=---------------------------240723202011929 10 CONTENT_TYPE=multipart/form-data; boundary=---------------------------240723202011929 15 Content-Disposition: form-data; name="entry" 19 Content-Disposition: form-data; name="password" 23 Content-Disposition: form-data; name="radio1" 27 Content-Disposition: form-data; name="checkbox1" 31 Content-Disposition: form-data; name="choices" 35 Content-Disposition: form-data; name="choices" 39 Content-Disposition: form-data; name="file"; filename="info.php"
|
/PHP-5.4/ext/standard/tests/array/ |
H A D | array_merge_variation4.phpt | 32 // int data 40 // float data 52 // null data 61 // boolean data 72 // empty data 81 // string data 88 // undefined data 93 // unset data 113 -- Iteration 1: int data -- 143 -- Iteration 2: float data -- [all …]
|
/PHP-5.4/tests/classes/ |
H A D | array_access_012.phpt | 7 private $data = array(); 12 $this->data[$index] = $value; 16 return $this->data[$index]; 20 return isset($this->data[$index]); 24 $data = new ArrayAccessImpl(); 25 $test = 'some data'; 26 $data['element'] = NULL; // prevent notice 27 $data['element'] = &$test;
|
/PHP-5.4/ext/dom/tests/ |
H A D | bug47849.phpt | 12 $fromdom->loadXML('<data xmlns="urn::data">aaa</data>'); 14 $data= $fromdom->documentElement; 15 $aDOM->documentElement->appendChild($aDOM->importNode($data)); 22 <r:root xmlns:r="urn::root"><data xmlns="urn::data"/></r:root>
|
/PHP-5.4/ext/standard/tests/serialize/ |
H A D | bug70172.phpt | 8 var $data; 10 return serialize($this->data); 12 function unserialize($data) { 13 $this->data = unserialize($data); 27 $data = unserialize($exploit); 33 var_dump($data); 51 ["data"]=>
|
H A D | bug70219.phpt | 6 var $data; 8 return serialize($this->data); 10 function unserialize($data) { 12 session_decode($data); 19 $data = unserialize($exploit); 25 var_dump($data); 32 ["data"]=>
|
/PHP-5.4/ext/xmlrpc/libxmlrpc/ |
H A D | xml_element.c | 279 …tic int xml_elem_writefunc(int (*fptr)(void *data, const char *text, int size), const char *text, … in xml_elem_writefunc() argument 401 xml_elem_writefunc(fptr, EQUALS, data, EQUALS_LEN); in xml_element_serialize() 403 xml_elem_writefunc(fptr, options->encoding, data, 0); in xml_element_serialize() 408 xml_elem_writefunc(fptr, NEWLINE, data, NEWLINE_LEN); in xml_element_serialize() 413 xml_elem_writefunc(fptr, whitespace, data, depth - 2); in xml_element_serialize() 418 xml_elem_writefunc(fptr, el->name, data, 0); in xml_element_serialize() 425 xml_elem_writefunc(fptr, iter->key, data, 0); in xml_element_serialize() 428 xml_elem_writefunc(fptr, iter->val, data, 0); in xml_element_serialize() 436 xml_elem_writefunc(fptr, "None", data, 0); in xml_element_serialize() 462 xml_elem_writefunc(fptr, escaped_str, data, buflen); in xml_element_serialize() [all …]
|
/PHP-5.4/ext/simplexml/tests/ |
H A D | 019.phpt | 17 Here we have some text data. 36 foreach($sxe->children() as $name => $data) { 38 var_dump(trim($data)); 43 foreach(clone $sxe->children() as $name => $data) { 45 var_dump(trim($data)); 50 foreach($sxe->elem11->children() as $name => $data) { 52 var_dump(trim($data)); 57 foreach($sxe->elem1->children() as $name => $data) { 59 var_dump(trim($data)); 79 string(28) "Here we have some text data."
|
/PHP-5.4/Zend/tests/ |
H A D | bug32428.phpt | 5 $data = @$not_exists; 6 $data = @($not_exists); 7 $data = @!$not_exists; 8 $data = !@$not_exists; 9 $data = @($not_exists+1);
|
/PHP-5.4/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_filter_output.c | 38 int mbfl_filter_output_pipe(int c, void* data) in mbfl_filter_output_pipe() argument 40 mbfl_convert_filter *filter = (mbfl_convert_filter*)data; in mbfl_filter_output_pipe() 44 int mbfl_filter_output_pipe_flush(void *data) in mbfl_filter_output_pipe_flush() argument 46 mbfl_convert_filter *filter = (mbfl_convert_filter*)data; in mbfl_filter_output_pipe_flush() 54 int mbfl_filter_output_null(int c, void* data) in mbfl_filter_output_null() argument
|