/PHP-7.4/ext/standard/tests/class_object/ |
H A D | get_class_methods_variation_001.phpt | 28 // int data 34 // float data 41 // array data 48 // null data 52 // boolean data 58 // empty data 62 // string data 66 // object data 69 // undefined data 72 // unset data
|
/PHP-7.4/ext/filter/tests/ |
H A D | 029.phpt | 13 var_dump(filter_var("data", FILTER_CALLBACK, array("options"=>"test"))); 35 var_dump(filter_var("data", FILTER_CALLBACK, array("options"=>"test1"))); 39 /* attempting to change data by reference */ 44 var_dump(filter_var("data", FILTER_CALLBACK, array("options"=>"test2"))); 48 /* unsetting data */ 53 var_dump(filter_var("data", FILTER_CALLBACK, array("options"=>"test3"))); 57 /* unset data and return value */ 63 var_dump(filter_var("data", FILTER_CALLBACK, array("options"=>"test4"))); 71 var_dump(filter_var("data", FILTER_CALLBACK, array("options"=>"test5"))); 91 string(4) "data"
|
/PHP-7.4/ext/openssl/tests/ |
H A D | bug74159.phpt | 33 $data = ''; 34 while (strlen($data) < 0xfffff) { 39 $data .= $buffer; 53 function streamWrite($stream, $data) : int { 54 return fwrite($stream, $data); 90 $data = str_repeat("a", 0xfffff); 93 while(!empty($data)) { 94 $written = streamWrite($fp, $data); 96 $data = substr($data, $written);
|
H A D | bug37820.phpt | 19 $data = "some custom data"; 20 if (!openssl_sign($data, $signature, $priv_key_id, OPENSSL_ALGO_MD5)) { 24 $ok = openssl_verify($data, $signature, $pub_key_id, OPENSSL_ALGO_MD5);
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | vfprintf_variation20.phpt | 39 // 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 D | vfprintf_variation21.phpt | 39 // 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 D | strip_tags_variation2.phpt | 36 // int data 42 // float data 49 // null data 53 // boolean data 59 // empty data 63 // object data 66 // undefined data 69 // unset data
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | symlink_link_linkinfo_is_link_variation3.phpt | 26 Access data of the file through the soft link 33 // Creating file and inserting data into it 46 // fill data into file 50 echo "\n-- Access data of the file through the soft link --\n"; 66 echo "\n-- Updating file with data through soft link --\n"; 67 // append link with data 88 echo "\n-- Updating file with data and check data through soft link --\n"; 94 // now check link for data; it should echo "Hello World" 121 -- Access data of the file through the soft link -- 130 -- Updating file with data through soft link -- [all …]
|
/PHP-7.4/Zend/ |
H A D | zend_llist.c | 46 memcpy(tmp->data, element, l->size); in zend_llist_add_element() 82 (l)->dtor((current)->data);\ 109 l->dtor(current->data); in zend_llist_destroy() 143 l->dtor(old_tail->data); in zend_llist_remove_tail() 169 if (func(element->data)) { in zend_llist_apply_with_del() 182 func(element->data); in zend_llist_apply() 234 func(element->data, arg); in zend_llist_apply_with_argument() 264 return (*current)->data; in zend_llist_get_first_ex() 277 return (*current)->data; in zend_llist_get_last_ex() 291 return (*current)->data; in zend_llist_get_next_ex() [all …]
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | array_replace.phpt | 35 $data = array_replace($array1, $array2); 37 var_dump($data); 40 $data = array_replace_recursive($array1, $array2); 42 var_dump($data); 45 $data = array_replace_recursive($array3, $array4); 47 var_dump($data);
|
/PHP-7.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_byte2.c | 106 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte2be_wchar() 113 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte2be() 114 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte2be() 129 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte2le_wchar() 136 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte2le() 137 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte2le()
|
H A D | mbfilter_ucs2.c | 159 CK((*filter->output_function)(0xfeff, filter->data)); in mbfl_filt_conv_ucs2_wchar() 162 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2_wchar() 184 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2be_wchar() 195 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs2be() 196 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs2be() 218 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2le_wchar() 230 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs2le() 231 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs2le()
|
H A D | mbfilter_cp936.c | 113 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp936_wchar() 115 CK((*filter->output_function)(0x20ac, filter->data)); in mbfl_filt_conv_cp936_wchar() 120 CK((*filter->output_function)(0xf8f5, filter->data)); in mbfl_filt_conv_cp936_wchar() 132 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar() 136 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar() 150 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar() 169 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar() 171 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp936_wchar() 176 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar() 278 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_cp936() [all …]
|
/PHP-7.4/ext/spl/tests/ |
H A D | unserialize_errors.phpt | 2 Errors from __unserialize() with invalid data 141 Incomplete or ill-typed serialization data 142 Incomplete or ill-typed serialization data 143 Incomplete or ill-typed serialization data 145 Incomplete or ill-typed serialization data 149 Incomplete or ill-typed serialization data 150 Incomplete or ill-typed serialization data 151 Incomplete or ill-typed serialization data 154 Incomplete or ill-typed serialization data 155 Incomplete or ill-typed serialization data [all …]
|
H A D | pqueue_004.phpt | 26 ["data"]=> 33 ["data"]=> 40 ["data"]=> 47 ["data"]=>
|
H A D | bug69845.phpt | 6 $data = new \ArrayObject(new stdClass(), ArrayObject::ARRAY_AS_PROPS); 7 $data->itemType = 'bulletin'; 8 var_dump(!is_null($data['itemType']));
|
/PHP-7.4/ext/oci8/tests/ |
H A D | bug70700.phpt | 23 $stmt = oci_parse($c, 'CREATE TABLE oci8_bug70700 (id NUMBER, data CLOB)'); 29 $insert = oci_parse($c, 'INSERT INTO oci8_bug70700 (id, data) VALUES (:id, :data)'); 31 $select = oci_parse($c, "SELECT data FROM oci8_bug70700 WHERE id = :id"); 39 oci_bind_by_name($insert, ':data', $desc, -1, OCI_B_CLOB); 52 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes) 70 oci_bind_by_name($insert, ':data', $desc, -1, OCI_B_CLOB); 83 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes) 101 oci_bind_by_name($insert, ':data', $desc, -1, OCI_B_CLOB); 114 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes) 132 oci_bind_by_name($insert, ':data', $desc, -1, OCI_B_CLOB); [all …]
|
H A D | cursors_old.phpt | 32 while ($result = ocifetchinto($stmt, $data, OCI_ASSOC)) { 33 ociexecute($data["CURS"]); 34 ocifetchinto($data["CURS"], $subdata, OCI_ASSOC); 36 var_dump(ocicancel($data["CURS"])); 37 ocifetchinto($data["CURS"], $subdata, OCI_ASSOC); 39 var_dump(ocicancel($data["CURS"]));
|
H A D | lob_022.phpt | 28 oci_lob_save($clob, "data"); 30 oci_lob_save($clob, "data"); 39 $clob->save("long data"); 40 $clob->save("long data", -1); 41 $clob->save("long data", 0); 79 string(4) "data" 80 string(9) "long data" 81 string(9) "long data" 82 string(4) "data"
|
/PHP-7.4/ext/zlib/tests/ |
H A D | gzinflate_error1.phpt | 11 /* Prototype : string gzinflate(string data [, int length]) 17 include(__DIR__ . '/data.inc'); 25 $data = 'string_val'; 28 var_dump( gzinflate($data, $length, $extra_arg) ); 31 $short_len = strlen($data) - 1; 32 $compressed = gzcompress($data); 46 var_dump(gzinflate($data, $testclass)); 65 Warning: gzinflate(): data error in %s on line %d
|
/PHP-7.4/ext/pgsql/tests/ |
H A D | bug37100.phpt | 2 Bug #37100 (data is returned truncated with BINARY CURSOR) 22 $data = pg_query("SELECT binfield FROM test_bug"); 23 $res = pg_fetch_result($data,0); 29 $data = pg_query($sql); 30 $res = pg_fetch_result($data,0);
|
/PHP-7.4/Zend/tests/ |
H A D | bug45744.phpt | 6 public function __construct(array $data) { 7 var_dump(array_map(array($this, 'callback'), $data)); 24 public function __construct(array $data) { 25 var_dump(array_map(array($this, 'callBack'), $data));
|
/PHP-7.4/ext/standard/tests/url/ |
H A D | bug54180.phpt | 6 var_dump(parse_url("http://example.com/path/script.html?t=1#fragment?data")); 7 var_dump(parse_url("http://example.com/path/script.html#fragment?data")); 21 string(13) "fragment?data" 31 string(13) "fragment?data"
|
/PHP-7.4/sapi/fpm/fpm/events/ |
H A D | epoll.c | 140 if (!epollfds[i].data.ptr) { in fpm_event_epoll_wait() 145 fpm_event_fire((struct fpm_event_s *)epollfds[i].data.ptr); in fpm_event_epoll_wait() 167 e.data.u64 = 0; in fpm_event_epoll_add() 170 e.data.fd = ev->fd; in fpm_event_epoll_add() 171 e.data.ptr = (void *)ev; in fpm_event_epoll_add() 198 e.data.fd = ev->fd; in fpm_event_epoll_remove() 199 e.data.ptr = (void *)ev; in fpm_event_epoll_remove()
|
/PHP-7.4/ext/dba/ |
H A D | dba_db3.c | 50 gkey.data = (char *) key; gkey.size = keylen 100 dba_db3_data *data; local 102 data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT); 103 data->dbp = dbp; 104 data->cursor = NULL; 105 info->dbf = data; 138 new = estrndup(gval.data, gval.size); 150 gval.data = (char *) val; 208 if (gkey.data) { 209 nkey = estrndup(gkey.data, gkey.size);
|