Home
last modified time | relevance | path

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

12345678910>>...72

/PHP-7.4/ext/standard/tests/strings/
H A Dunpack_bug68225.phpt6 $data = pack('VV', 1, 2);
8 $result = unpack('Va/X' ,$data);
11 $result = unpack('Va/X4' ,$data);
14 $result = unpack('V1a/X4/V1b/V1c/X4/V1d', $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
H A Dvprintf_variation1.phpt39 // int data
45 // float data
52 // array data
59 // null data
63 // boolean data
69 // empty data
73 // object data
76 // undefined data
79 // unset data
82 // resource data
H A Dvprintf_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
H A Dvsprintf_variation1.phpt39 // int data
45 // float data
52 // array data
59 // null data
63 // boolean data
69 // empty data
73 // object data
76 // undefined data
79 // unset data
82 // resource data
/PHP-7.4/ext/standard/tests/math/
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.4/ext/standard/tests/serialize/
H A D001.phpt59 $data = serialize($t);
60 echo "$data\n";
61 $t = unserialize($data);
65 $data = serialize($t);
66 echo "$data\n";
67 $t = unserialize($data);
73 $data = serialize($a);
74 echo "$data\n";
75 $a = unserialize($data);
/PHP-7.4/tests/basic/
H A Drfc1867_file_upload_disabled.phpt6 Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
8 Content-Disposition: form-data; name="foo"
12 Content-Disposition: form-data; name="file1"; filename="file1.txt"
17 Content-Disposition: form-data; name="bar"
/PHP-7.4/ext/mbstring/libmbfl/filters/
H A Dmbfilter_cp51932.c121 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar()
130 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar()
171 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar()
173 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar()
178 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar()
186 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar()
188 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar()
193 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar()
289 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_cp51932()
291 CK((*filter->output_function)(0x8e, filter->data)); in mbfl_filt_conv_wchar_cp51932()
[all …]
H A Dmbfilter_sjis_mac.c142 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar()
164 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar()
259 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar()
261 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar()
266 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar()
361 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()
551 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac()
[all …]
/PHP-7.4/sapi/apache2handler/
H A Dapache_config.c150 zval *data; in merge_php_config() local
156 ZEND_HASH_FOREACH_STR_KEY_VAL(&d->config, str, data) { in merge_php_config()
163 new_entry = zend_hash_add(&n->config, key, data); in merge_php_config()
192 php_dir_entry *data; in apply_config() local
194 ZEND_HASH_FOREACH_STR_KEY_PTR(&d->config, str, data) { in apply_config()
195 phpapdebug((stderr, "APPLYING (%s)(%s)\n", ZSTR_VAL(str), data->value)); in apply_config()
196 …if (zend_alter_ini_entry_chars(str, data->value, data->value_len, data->status, data->htaccess?PHP… in apply_config()
212 static apr_status_t destroy_php_config(void *data) in destroy_php_config() argument
214 php_conf_rec *d = data; in destroy_php_config()
216 phpapdebug((stderr, "Destroying config %p\n", data)); in destroy_php_config()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_list.c135 phpdbg_file_source *data; in phpdbg_list_file() local
149 if (lastline > data->lines) { in phpdbg_list_file()
150 lastline = data->lines; in phpdbg_list_file()
236 phpdbg_file_source data, *dataptr; in phpdbg_compile_file() local
254 data.buf = estrndup(bufptr, len); in phpdbg_compile_file()
255 data.len = len; in phpdbg_compile_file()
259 efree(data.buf); in phpdbg_compile_file()
263 data.buf[data.len] = '\0'; in phpdbg_compile_file()
264 data.line[0] = 0; in phpdbg_compile_file()
265 *(dataptr = emalloc(sizeof(phpdbg_file_source) + sizeof(uint32_t) * data.len)) = data; in phpdbg_compile_file()
[all …]
/PHP-7.4/ext/session/tests/
H A Dsession_cache_limiter_error.phpt38 // 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/standard/tests/file/
H A Dfile_put_contents_variation8.phpt14 /* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]])
15 * Description: Write/Create a file with contents data and return the number of bytes written
46 $res = file_put_contents($names_arr[$i], "Some data");
52 echo "Failed to write data to: $names_arr[$i]\n";
68 Failed to write data to:
72 Failed to write data to:
76 Failed to write data to:
82 Failed to write data to: �
88 Failed to write data to: Array
92 Failed to write data to: %sdir
[all …]
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"));
53 string(4) "data"
H A Dfputcsv_002.phpt2 fputcsv(): Checking data after calling the function
8 $data = array(1, 2, 'foo', 'haha', array(4, 5, 6), 1.3, null);
12 fputcsv($fp, $data);
14 var_dump($data);
/PHP-7.4/ext/zlib/tests/
H A Dbug71417.phpt14 // 1. Set a random byte in the middle of the compressed data.
19 // gzip: test-zlib-inflate.gz: invalid compressed data--crc error
22 // 2. Truncate the compressed data.
34 // gzip: test-zlib-inflate.gz: invalid compressed data--crc error
41 // gzip: test-zlib-inflate.gz: invalid compressed data--length error
45 // The gzdecode() function applied to the corrupted compressed data always
47 // --> gzdecode(): PHP Fatal error: Uncaught ErrorException: gzdecode(): data error in ...
70 Warning: gzdecode(): data error in %s on line %d
74 Warning: gzdecode(): data error in %s on line %d
78 Warning: gzdecode(): data error in %s on line %d
[all …]
/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dqueue.h30 void *data ; member
64 int Q_Put(queue *q, void *data);
66 int Q_Find(queue *q, void *data,
68 void *Q_Seek(queue *q, void *data,
70 int Q_Insert(queue *q, void *data,
79 int Q_Iter_Put(q_iter qi, void* data); /* not read only! here for completeness. */
87 #define Q_Iter_Get_F(qi) (qi ? ((node*)qi)->data : NULL)
/PHP-7.4/ext/openssl/tests/
H A Dopenssl_decrypt_basic.phpt7 $data = "openssl_encrypt() and openssl_decrypt() tests";
16 $encrypted = openssl_encrypt($data, $method, $password, 0, $iv);
19 $encrypted = openssl_encrypt($data, $method, $password, OPENSSL_RAW_DATA, $iv);
23 $padded_data = $data . str_repeat(' ', 16 - (strlen($data) % 16));
28 $encrypted = openssl_encrypt($data, "bf-ecb", $password, OPENSSL_DONT_ZERO_PAD_KEY);
34 openssl_encrypt($data, $method, $password, 0, $iv, $tag);
/PHP-7.4/ext/filter/tests/
H A D033_run.inc4 function test($data) {
5 return strtoupper($data);
8 $data = array(
24 …foreach($data as $k=>$d) $result[$k] = filter_var($d,filter_id($filter),array("options"=>array("re…
26 foreach($data as $k=>$d) $result[$k] = filter_var($d,filter_id($filter),array("options"=>"test"));
/PHP-7.4/ext/pgsql/tests/
H A Dbug37100_9.phpt2 Bug #37100 (data is returned truncated with BINARY CURSOR) (9.0+)
21 $data = pg_query("SELECT binfield FROM test_bug");
22 $res = pg_fetch_result($data,0);
28 $data = pg_query($sql);
29 $res = pg_fetch_result($data,0);
/PHP-7.4/Zend/tests/
H A Dbug38779.phpt8 private $data;
10 $this->data = '<' . "?php \n\"\";ll l\n ?" . '>';
15 $ret = substr($this->data, $this->position, $count);
20 return $this->position >= strlen($this->data);
23 return array('size' => strlen($this->data));
/PHP-7.4/ext/spl/tests/
H A DSplFileObject_fputcsv_002.phpt2 SplFileObject::fputcsv(): Checking data after calling the function
7 $data = array(1, 2, 'foo', 'haha', array(4, 5, 6), 1.3, null);
9 $fo->fputcsv($data);
11 var_dump($data);

Completed in 35 milliseconds

12345678910>>...72