Home
last modified time | relevance | path

Searched refs:data (Results 101 – 125 of 1673) sorted by relevance

12345678910>>...67

/PHP-8.0/ext/standard/tests/array/
H A Darray_diff_variation3.phpt2 Test array_diff() function : usage variations - array with different data types as values
7 * data types as values in place of $arr1
31 // int data
39 // float data
48 // null data
54 // boolean data
62 // empty data
68 // string data
75 // binary data
81 // undefined data
[all …]
H A Darray_push_variation2.phpt2 Test array_push() function : usage variations - Pass different data types as $var arg
6 * Pass different data types as $var argument to array_push to test behaviour
37 // int data
43 // float data
50 // null data
54 // boolean data
60 // empty data
65 // string data
70 // object data
73 // undefined data
[all …]
H A Dnatcasesort_variation2.phpt2 Test natcasesort() function : usage variations - Pass arrays of different data types
32 // arrays of different data types to be passed to $array_arg argument
35 // int data
43 // float data
52 // null data
58 // boolean data
66 // empty data
75 // string data
82 // object data
87 // undefined data
[all …]
/PHP-8.0/ext/oci8/tests/
H A Dlob_041.phpt18 "INSERT INTO lob_041_tab VALUES('test data')"
29 $data = oci_fetch_assoc($s);
31 echo $data['C1']->load(), "\n";
40 $data = oci_fetch_assoc($s);
42 echo $data['C1']->load(), "\n";
50 $data = oci_fetch_assoc($s);
52 echo $data['C1']->load(), "\n";
53 var_dump($data);
68 test data
71 test data
[all …]
/PHP-8.0/Zend/tests/
H A Dbug67874.phpt6 $data = array($a);
7 $data = array_map('current', $data);
8 var_dump($data);
/PHP-8.0/ext/mbstring/libmbfl/filters/
H A Dmbfilter_euc_tw.c109 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar()
119 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar()
138 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar()
140 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar()
145 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar()
152 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar()
161 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar()
169 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar()
178 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar()
202 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar()
[all …]
H A Dmbfilter_byte4.c117 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte4be_wchar()
124 CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be()
125 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be()
126 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be()
127 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be()
150 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte4le_wchar()
157 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4le()
158 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4le()
159 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4le()
160 CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4le()
/PHP-8.0/Zend/tests/generators/
H A Dgenerator_method.phpt7 protected $data;
9 public function __construct(array $data) {
10 $this->data = $data;
14 foreach ($this->data as $value) {
/PHP-8.0/ext/standard/tests/dir/
H A Drewinddir_basic.phpt24 $data = array();
27 $data[] = $file1;
29 $first = $data[0];
30 sort($data);
31 var_dump($data);
36 $data = array();
39 $data[] = $file2;
41 $first = $data[0];
42 sort($data);
43 var_dump($data);
H A Drewinddir_basic-win32-mb.phpt30 $data = array();
33 $data[] = $file1;
35 $first = $data[0];
36 sort($data);
37 var_dump($data);
42 $data = array();
45 $data[] = $file2;
47 $first = $data[0];
48 sort($data);
49 var_dump($data);
/PHP-8.0/ext/standard/tests/filters/
H A Dbug72941.phpt2 Bug #72941 (Modifying bucket->data by-ref has no effect any longer)
10 $this->rotate($bucket->data);
18 function rotate(&$data)
20 $n = strlen($data);
22 $data[$i] = $data[$i + 1];
/PHP-8.0/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]);
28 unpack(): Argument #3 ($offset) must be contained in argument #2 ($data)
29 unpack(): Argument #3 ($offset) must be contained in argument #2 ($data)
/PHP-8.0/ext/ctype/tests/
H A Dctype_alnum_variation1.phpt2 Test ctype_alnum() function : usage variations - Different data types as $c arg
8 * Pass different data types as $c argument to ctype_alnum() 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 Dctype_alpha_variation1.phpt2 Test ctype_alpha() function : usage variations - different data types as $c arg
8 * Pass different data types as $c argument to ctype_alpha() 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 Dctype_digit_variation1.phpt2 Test ctype_digit() function : usage variations - different data types as $c arg
8 * Pass different data types as $c argument to ctype_digit() 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 Dctype_graph_variation1.phpt2 Test ctype_graph() function : usage variations - different data types as $c arg
8 * Pass different data types as $c argument to ctype_graph() 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 Dctype_lower_variation1.phpt2 Test ctype_lower() function : usage variations - different data types as $c arg
8 * Pass different data types as $c argument to ctype_lower() 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 Dctype_punct_variation1.phpt2 Test ctype_punct() function : usage variations - different data types as $c argument
8 * Pass different data types as $c argument to ctype_punt() 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 Dctype_upper_variation1.phpt2 Test ctype_upper() function : usage variations - different data types
8 * Pass different data types as $c argument to ctype_upper() 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 Dctype_xdigit_variation1.phpt2 Test ctype_xdigit() function : usage variations - different data typse as $c arg
8 * Pass different data types as $c argument to ctype_xdigit() 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/sapi/fpm/fpm/
H A Dfpm_arrays.h10 void *data; member
32 a->data = calloc(sz, initial_num); in fpm_array_init()
34 if (!a->data) { in fpm_array_init()
50 ret = (char *) a->data + a->sz * n; in fpm_array_item()
87 void *new_ptr = realloc(a->data, a->sz * new_allocated); in fpm_array_push()
93 a->data = new_ptr; in fpm_array_push()
107 free(a->data); in fpm_array_free()
108 a->data = 0; in fpm_array_free()
/PHP-8.0/ext/standard/tests/serialize/
H A Dbug70172_2.phpt6 var $data;
8 return serialize($this->data);
10 function unserialize($data) {
11 $this->data = unserialize($data);
32 $data = unserialize($exploit);
38 var_dump($data);
H A Dbug70436.phpt8 var $data;
12 return serialize($this->data);
15 function unserialize($data)
17 $this->data = unserialize($data);
31 $data = unserialize($exploit);
33 var_dump($data);
/PHP-8.0/ext/reflection/tests/
H A Dbug71018.phpt6 public static $data;
10 return self::$data;
15 return static::$data;
21 $Prop1 = new ReflectionProperty(T1::class, 'data');
22 $Prop2 = new ReflectionProperty(T2::class, 'data');
33 T1::$data = "world";
34 T2::$data = 'hello';
/PHP-8.0/ext/standard/tests/general_functions/
H A Descapeshellarg_variation1-win32.phpt2 Test escapeshellarg() function : usage variations - different data types as $arg arg
28 // int data
35 // float data
42 // null data
46 // boolean data
52 // empty data
56 // undefined data
59 // unset data

Completed in 86 milliseconds

12345678910>>...67