摘要:
1 PHP_FUNCTION(array_diff) 2 { 3 zval *args; 4 int argc, i; 5 uint32_t num; 6 HashTable exclude; 7 zval *value; 8 zend_string *str, *key; 9 zend_long idx; 10 ... 阅读全文
posted @ 2018-06-07 17:44
S3c0ldW4ng
阅读(531)
评论(0)
推荐(0)
摘要:
1 PHP_FUNCTION(array_count_values) 2 { 3 zval *input, /* Input array */ 4 *entry, /* An entry in the input array */ 5 *tmp; 6 HashTable *myht; ... 阅读全文
posted @ 2018-06-07 13:51
S3c0ldW4ng
阅读(1330)
评论(0)
推荐(0)
摘要:
1 PHP_FUNCTION(array_combine) 2 { 3 HashTable *values, *keys; 4 uint32_t pos_values = 0; 5 zval *entry_keys, *entry_values; 6 int num_keys, num_values; 7 8 // 创建一个数组,用一个数... 阅读全文
posted @ 2018-06-07 00:29
S3c0ldW4ng
阅读(801)
评论(0)
推荐(0)
摘要:
1 PHP_FUNCTION(array_column) 2 { 3 zval *zcolumn = NULL, *zkey = NULL, *data; 4 HashTable *arr_hash; 5 zval *zcolval = NULL, *zkeyval = NULL, rvc, rvk; 6 7 // !如果接收了一个php语言里的n... 阅读全文
posted @ 2018-06-07 00:08
S3c0ldW4ng
阅读(1600)
评论(0)
推荐(0)

浙公网安备 33010602011771号