Lines Matching refs:op

688 static void php_filter_array_handler(zval *input, zval **op, zval *return_value, zend_bool add_empt…  in php_filter_array_handler()  argument
696 if (!op) { in php_filter_array_handler()
700 } else if (Z_TYPE_PP(op) == IS_LONG) { in php_filter_array_handler()
703 php_filter_call(&return_value, Z_LVAL_PP(op), NULL, 0, FILTER_REQUIRE_ARRAY TSRMLS_CC); in php_filter_array_handler()
704 } else if (Z_TYPE_PP(op) == IS_ARRAY) { in php_filter_array_handler()
707 zend_hash_internal_pointer_reset(Z_ARRVAL_PP(op)); in php_filter_array_handler()
708 for (zend_hash_internal_pointer_reset_ex(Z_ARRVAL_PP(op), &pos); in php_filter_array_handler()
709 zend_hash_get_current_data_ex(Z_ARRVAL_PP(op), (void **) &arg_elm, &pos) == SUCCESS; in php_filter_array_handler()
710 zend_hash_move_forward_ex(Z_ARRVAL_PP(op), &pos)) in php_filter_array_handler()
712 …if (zend_hash_get_current_key_ex(Z_ARRVAL_PP(op), &arg_key, &arg_key_len, &index, 0, &pos) != HASH… in php_filter_array_handler()
828 zval *array_input = NULL, **op = NULL; in PHP_FUNCTION() local
831 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|Zb", &fetch_from, &op, &add_empty) == FAI… in PHP_FUNCTION()
835 if (op in PHP_FUNCTION()
836 && (Z_TYPE_PP(op) != IS_ARRAY) in PHP_FUNCTION()
837 && (Z_TYPE_PP(op) == IS_LONG && !PHP_FILTER_ID_EXISTS(Z_LVAL_PP(op))) in PHP_FUNCTION()
847 if (op) { in PHP_FUNCTION()
848 if (Z_TYPE_PP(op) == IS_LONG) { in PHP_FUNCTION()
849 filter_flags = Z_LVAL_PP(op); in PHP_FUNCTION()
850 …} else if (Z_TYPE_PP(op) == IS_ARRAY && zend_hash_find(HASH_OF(*op), "flags", sizeof("flags"), (vo… in PHP_FUNCTION()
867 php_filter_array_handler(array_input, op, return_value, add_empty TSRMLS_CC); in PHP_FUNCTION()
876 zval *array_input = NULL, **op = NULL; in PHP_FUNCTION() local
879 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|Zb", &array_input, &op, &add_empty) == FA… in PHP_FUNCTION()
883 if (op in PHP_FUNCTION()
884 && (Z_TYPE_PP(op) != IS_ARRAY) in PHP_FUNCTION()
885 && (Z_TYPE_PP(op) == IS_LONG && !PHP_FILTER_ID_EXISTS(Z_LVAL_PP(op))) in PHP_FUNCTION()
890 php_filter_array_handler(array_input, op, return_value, add_empty TSRMLS_CC); in PHP_FUNCTION()