Home
last modified time | relevance | path

Searched refs:data (Results 201 – 225 of 2290) sorted by relevance

12345678910>>...92

/PHP-7.1/ext/standard/tests/strings/
H A Dunpack_offset.phpt5 $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 Dstrval_variation1.phpt2 Test strval() function : usage variations - Pass different data types as strval
48 // float data
55 // array data
59 // null data
63 // boolean data
69 // empty data
73 // object data
79 // undefined data
82 // unset data
H A Dvsprintf_variation2.phpt39 // int data
45 // float data
52 // null data
56 // boolean data
62 // empty data
66 // string data
70 // object data
73 // undefined data
76 // unset data
79 // resource data
/PHP-7.1/tests/basic/
H A Drfc1867_invalid_boundary.phpt6 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
H A D030.phpt6 Content-Type: multipart/form-data; boundary=BVoyv; charset=iso-8859-1
8 Content-Disposition: form-data; name="data"
18 ["data"]=>
/PHP-7.1/ext/standard/tests/math/
H A Dhexdec_variation1.phpt2 Test hexdec() function : usage variations - different data types as $number arg
31 // int data
39 // float data
46 // null data
50 // boolean data
56 // empty data
61 // string data
66 // undefined data
69 // unset data
H A Dhexdec_variation1_64bit.phpt2 Test hexdec() function : usage variations - different data types as $number arg
31 // int data
39 // float data
46 // null data
50 // boolean data
56 // empty data
61 // string data
66 // undefined data
69 // unset data
H A Dceil_variation1.phpt2 Test ceil() function : usage variations - different data types as $value arg
33 // null data
37 // boolean data
43 // empty data
48 // string data
53 // object data
56 // undefined data
59 // unset data
H A Dfloor_variation1.phpt2 Test floor() function : usage variations - different data types as $value arg
33 // null data
37 // boolean data
43 // empty data
48 // string data
53 // object data
56 // undefined data
59 // unset data
H A Dpow_variation1.phpt2 Test pow() function : usage variations - different data types as $base argument
37 // 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 Dpow_variation1_64bit.phpt2 Test pow() function : usage variations - different data types as $base argument
37 // 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 Dpow_variation2.phpt2 Test pow() function : usage variations - different data types as $exp argument
33 // int data
40 // float data
47 // null data
51 // boolean data
57 // empty data
62 // string data
67 // object data
70 // undefined data
73 // unset data
/PHP-7.1/ext/spl/tests/
H A Dbug72051.phpt6 $data = [
10 $callbackTest = new CallbackFilterIterator(new ArrayIterator($data), function (&$current) {
16 $data = $callbackTest->current();
18 print_r($data);
/PHP-7.1/ext/standard/tests/file/
H A Dsymlink_link_linkinfo_is_link_variation4.phpt25 Access data of the file through the hard link
32 // Creating file and inserting data into it
36 // fill data into file
40 echo "\n-- Access data of the file through the hard link --\n";
53 echo "\n-- Updating file with data through hard link --\n";
54 // append link with data
69 echo "\n-- Updating file with data and check data through hard link --\n";
75 // now check link for data; it should echo "Hello World"
97 -- Access data of the file through the hard link --
105 -- Updating file with data through hard link --
[all …]
H A Dstream_rfc2397_003.phpt2 Stream: RFC2397 decoding data
9 'data://,A%20brief%20note',
10 'data://application/vnd-xxx-query,select_vcount,fcol_from_fieldtable/local',
11 'data://;base64,Zm9vYmFyIGZvb2Jhcg==',
12 'stream_rfc2397_003.gif' => 'data://image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAw
H A Dfwrite.phpt14 var_dump(fwrite($fp, "data"));
17 var_dump(fwrite($fp, "data", -1));
18 var_dump(fwrite($fp, "data", 100000));
21 var_dump(fwrite($fp, "data", -1));
23 var_dump(fwrite(array(), "data", -1));
24 var_dump(fwrite(array(), "data"));
51 string(4) "data"
H A Dinclude_userstream_001.phpt9 private $data = '<?php echo "Hello World\n";?>';
15 $this->pos = strlen($this->data);
24 $ret = substr($this->data, $this->pos, $count);
36 return $this->pos >= strlen($this->data);
43 if ($offset < $this->data && $offset >= 0) {
59 if (strlen($this->data) + $offset >= 0) {
60 $this->pos = strlen($this->data) + $offset;
/PHP-7.1/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_bindcolumn.phpt33 $data = array();
38 $data[] = array('id' => $id, 'label' => $label);
44 if ($row['id'] != $data[$index]['id']) {
46 var_export($data[$index]['id'], true), gettype($data[$index]['id']),
49 if ($row['label'] != $data[$index]['label']) {
51 var_export($data[$index]['label'], true), gettype($data[$index]['label']),
73 $data = array();
84 if ($row['id'] != $data[$index]['id']) {
86 var_export($data[$index]['id'], true), gettype($data[$index]['id']),
89 if ($row['label'] != $data[$index]['label']) {
[all …]
/PHP-7.1/ext/filter/tests/
H A D036.phpt10 $data = array();
11 $data["test1"] = 1;
12 $data["test2"] = &$var;
18 $ret = filter_var_array($data, $args);
20 var_dump($data); //should be separated, i.e. not reference anymore. looks like we can't change this…
/PHP-7.1/ext/mbstring/libmbfl/filters/
H A Dmbfilter_sjis_mac.c140 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar()
162 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar()
257 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar()
259 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar()
264 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar()
359 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac()
480 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac()
485 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac()
486 CK((*filter->output_function)(s2, filter->data)); in mbfl_filt_conv_wchar_sjis_mac()
553 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac()
[all …]
H A Dmbfilter_cp51932.c119 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar()
128 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar()
169 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar()
171 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar()
176 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar()
184 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar()
186 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar()
191 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar()
287 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_cp51932()
289 CK((*filter->output_function)(0x8e, filter->data)); in mbfl_filt_conv_wchar_cp51932()
[all …]
/PHP-7.1/ext/mbstring/tests/
H A Dmb_substr_variation1.phpt16 * Pass different data types as $str to mb_substr() to test behaviour
48 // int data
54 // float data
61 // null data
65 // boolean data
71 // empty data
75 // string data
80 // object data
83 // undefined data
86 // unset data
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_trace_pread.c57 int fpm_trace_get_long(long addr, long *data) /* {{{ */ in fpm_trace_get_long() argument
59 if (sizeof(*data) != pread(mem_file, (void *) data, sizeof(*data), (uintptr_t) addr)) { in fpm_trace_get_long()
/PHP-7.1/sapi/apache2handler/
H A Dapache_config.c152 zval *data; in merge_php_config() local
158 ZEND_HASH_FOREACH_STR_KEY_VAL(&d->config, str, data) { in merge_php_config()
165 new_entry = zend_hash_add(&n->config, key, data); in merge_php_config()
194 php_dir_entry *data; in apply_config() local
196 ZEND_HASH_FOREACH_STR_KEY_PTR(&d->config, str, data) { in apply_config()
197 phpapdebug((stderr, "APPLYING (%s)(%s)\n", ZSTR_VAL(str), data->value)); in apply_config()
198 …if (zend_alter_ini_entry_chars(str, data->value, data->value_len, data->status, data->htaccess?PHP… in apply_config()
214 static apr_status_t destroy_php_config(void *data) in destroy_php_config() argument
216 php_conf_rec *d = data; in destroy_php_config()
218 phpapdebug((stderr, "Destroying config %p\n", data)); in destroy_php_config()
/PHP-7.1/Zend/tests/
H A Dbug71731.phpt7 private $data = [];
10 return array_key_exists($name, $this->data);
14 if (!array_key_exists($name, $this->data)) {
17 return $this->data[$name];
21 $this->data[$name] = $value;
25 unset($this->data[$name]);

Completed in 33 milliseconds

12345678910>>...92