Lines Matching refs:arg
135 ZEND_API char *zend_zval_type_name(const zval *arg) /* {{{ */ in zend_zval_type_name() argument
137 ZVAL_DEREF(arg); in zend_zval_type_name()
138 return zend_get_type_by_const(Z_TYPE_P(arg)); in zend_zval_type_name()
142 ZEND_API zend_string *zend_zval_get_type(const zval *arg) /* {{{ */ in zend_zval_get_type() argument
144 switch (Z_TYPE_P(arg)) { in zend_zval_get_type()
161 if (zend_rsrc_list_get_rsrc_type(Z_RES_P(arg))) { in zend_zval_get_type()
250 …ALL zend_wrong_parameter_type_error(int num, zend_expected_type expected_type, zval *arg) /* {{{ */ in zend_wrong_parameter_type_error() argument
260 …, space, get_active_function_name(), num, expected_error[expected_type], zend_zval_type_name(arg)); in zend_wrong_parameter_type_error()
264 …zend_wrong_parameter_type_exception(int num, zend_expected_type expected_type, zval *arg) /* {{{ */ in zend_wrong_parameter_type_exception() argument
274 …, space, get_active_function_name(), num, expected_error[expected_type], zend_zval_type_name(arg)); in zend_wrong_parameter_type_exception()
278 …_COLD void ZEND_FASTCALL zend_wrong_parameter_class_error(int num, char *name, zval *arg) /* {{{ */ in zend_wrong_parameter_class_error() argument
284 class_name, space, get_active_function_name(), num, name, zend_zval_type_name(arg)); in zend_wrong_parameter_class_error()
288 …D void ZEND_FASTCALL zend_wrong_parameter_class_exception(int num, char *name, zval *arg) /* {{{ */ in zend_wrong_parameter_class_exception() argument
294 class_name, space, get_active_function_name(), num, name, zend_zval_type_name(arg)); in zend_wrong_parameter_class_exception()
331 ZEND_API int ZEND_FASTCALL zend_parse_arg_class(zval *arg, zend_class_entry **pce, int num, int che… in zend_parse_arg_class() argument
335 if (check_null && Z_TYPE_P(arg) == IS_NULL) { in zend_parse_arg_class()
339 convert_to_string_ex(arg); in zend_parse_arg_class()
340 *pce = zend_lookup_class(Z_STR_P(arg)); in zend_parse_arg_class()
348 ZSTR_VAL(ce_base->name), Z_STRVAL_P(arg)); in zend_parse_arg_class()
359 Z_STRVAL_P(arg)); in zend_parse_arg_class()
366 ZEND_API int ZEND_FASTCALL zend_parse_arg_bool_weak(zval *arg, zend_bool *dest) /* {{{ */ in zend_parse_arg_bool_weak() argument
368 if (EXPECTED(Z_TYPE_P(arg) <= IS_STRING)) { in zend_parse_arg_bool_weak()
369 *dest = zend_is_true(arg); in zend_parse_arg_bool_weak()
377 ZEND_API int ZEND_FASTCALL zend_parse_arg_bool_slow(zval *arg, zend_bool *dest) /* {{{ */ in zend_parse_arg_bool_slow() argument
382 return zend_parse_arg_bool_weak(arg, dest); in zend_parse_arg_bool_slow()
386 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_weak(zval *arg, zend_long *dest) /* {{{ */ in zend_parse_arg_long_weak() argument
388 if (EXPECTED(Z_TYPE_P(arg) == IS_DOUBLE)) { in zend_parse_arg_long_weak()
389 if (UNEXPECTED(zend_isnan(Z_DVAL_P(arg)))) { in zend_parse_arg_long_weak()
392 if (UNEXPECTED(!ZEND_DOUBLE_FITS_LONG(Z_DVAL_P(arg)))) { in zend_parse_arg_long_weak()
395 *dest = zend_dval_to_lval(Z_DVAL_P(arg)); in zend_parse_arg_long_weak()
397 } else if (EXPECTED(Z_TYPE_P(arg) == IS_STRING)) { in zend_parse_arg_long_weak()
401 if (UNEXPECTED((type = is_numeric_str_function(Z_STR_P(arg), dest, &d)) != IS_LONG)) { in zend_parse_arg_long_weak()
415 } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { in zend_parse_arg_long_weak()
417 } else if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { in zend_parse_arg_long_weak()
426 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_slow(zval *arg, zend_long *dest) /* {{{ */ in zend_parse_arg_long_slow() argument
431 return zend_parse_arg_long_weak(arg, dest); in zend_parse_arg_long_slow()
435 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_cap_weak(zval *arg, zend_long *dest) /* {{{ */ in zend_parse_arg_long_cap_weak() argument
437 if (EXPECTED(Z_TYPE_P(arg) == IS_DOUBLE)) { in zend_parse_arg_long_cap_weak()
438 if (UNEXPECTED(zend_isnan(Z_DVAL_P(arg)))) { in zend_parse_arg_long_cap_weak()
441 *dest = zend_dval_to_lval_cap(Z_DVAL_P(arg)); in zend_parse_arg_long_cap_weak()
442 } else if (EXPECTED(Z_TYPE_P(arg) == IS_STRING)) { in zend_parse_arg_long_cap_weak()
446 if (UNEXPECTED((type = is_numeric_str_function(Z_STR_P(arg), dest, &d)) != IS_LONG)) { in zend_parse_arg_long_cap_weak()
456 } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { in zend_parse_arg_long_cap_weak()
458 } else if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { in zend_parse_arg_long_cap_weak()
467 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_cap_slow(zval *arg, zend_long *dest) /* {{{ */ in zend_parse_arg_long_cap_slow() argument
472 return zend_parse_arg_long_cap_weak(arg, dest); in zend_parse_arg_long_cap_slow()
476 ZEND_API int ZEND_FASTCALL zend_parse_arg_double_weak(zval *arg, double *dest) /* {{{ */ in zend_parse_arg_double_weak() argument
478 if (EXPECTED(Z_TYPE_P(arg) == IS_LONG)) { in zend_parse_arg_double_weak()
479 *dest = (double)Z_LVAL_P(arg); in zend_parse_arg_double_weak()
480 } else if (EXPECTED(Z_TYPE_P(arg) == IS_STRING)) { in zend_parse_arg_double_weak()
484 if (UNEXPECTED((type = is_numeric_str_function(Z_STR_P(arg), &l, dest)) != IS_DOUBLE)) { in zend_parse_arg_double_weak()
491 } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { in zend_parse_arg_double_weak()
493 } else if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { in zend_parse_arg_double_weak()
502 ZEND_API int ZEND_FASTCALL zend_parse_arg_double_slow(zval *arg, double *dest) /* {{{ */ in zend_parse_arg_double_slow() argument
504 if (EXPECTED(Z_TYPE_P(arg) == IS_LONG)) { in zend_parse_arg_double_slow()
506 *dest = (double)Z_LVAL_P(arg); in zend_parse_arg_double_slow()
510 return zend_parse_arg_double_weak(arg, dest); in zend_parse_arg_double_slow()
514 ZEND_API int ZEND_FASTCALL zend_parse_arg_str_weak(zval *arg, zend_string **dest) /* {{{ */ in zend_parse_arg_str_weak() argument
516 if (EXPECTED(Z_TYPE_P(arg) < IS_STRING)) { in zend_parse_arg_str_weak()
517 convert_to_string(arg); in zend_parse_arg_str_weak()
518 *dest = Z_STR_P(arg); in zend_parse_arg_str_weak()
519 } else if (UNEXPECTED(Z_TYPE_P(arg) == IS_OBJECT)) { in zend_parse_arg_str_weak()
520 if (Z_OBJ_HANDLER_P(arg, cast_object)) { in zend_parse_arg_str_weak()
522 if (Z_OBJ_HANDLER_P(arg, cast_object)(arg, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_str_weak()
523 zval_ptr_dtor(arg); in zend_parse_arg_str_weak()
524 ZVAL_COPY_VALUE(arg, &obj); in zend_parse_arg_str_weak()
525 *dest = Z_STR_P(arg); in zend_parse_arg_str_weak()
528 } else if (Z_OBJ_HANDLER_P(arg, get)) { in zend_parse_arg_str_weak()
530 zval *z = Z_OBJ_HANDLER_P(arg, get)(arg, &rv); in zend_parse_arg_str_weak()
533 zval_ptr_dtor(arg); in zend_parse_arg_str_weak()
535 ZVAL_COPY_VALUE(arg, z); in zend_parse_arg_str_weak()
537 ZVAL_STR(arg, zval_get_string_func(z)); in zend_parse_arg_str_weak()
540 *dest = Z_STR_P(arg); in zend_parse_arg_str_weak()
553 ZEND_API int ZEND_FASTCALL zend_parse_arg_str_slow(zval *arg, zend_string **dest) /* {{{ */ in zend_parse_arg_str_slow() argument
558 return zend_parse_arg_str_weak(arg, dest); in zend_parse_arg_str_slow()
562 static const char *zend_parse_arg_impl(int arg_num, zval *arg, va_list *va, const char **spec, char… in zend_parse_arg_impl() argument
568 zval *real_arg = arg; in zend_parse_arg_impl()
571 ZVAL_DEREF(arg); in zend_parse_arg_impl()
574 SEPARATE_ZVAL_NOREF(arg); in zend_parse_arg_impl()
575 real_arg = arg; in zend_parse_arg_impl()
596 if (!zend_parse_arg_long(arg, p, is_null, check_null, c == 'L')) { in zend_parse_arg_impl()
611 if (!zend_parse_arg_double(arg, p, is_null, check_null)) { in zend_parse_arg_impl()
621 if (!zend_parse_arg_string(arg, p, pl, check_null)) { in zend_parse_arg_impl()
631 if (!zend_parse_arg_path(arg, p, pl, check_null)) { in zend_parse_arg_impl()
640 if (!zend_parse_arg_path_str(arg, str, check_null)) { in zend_parse_arg_impl()
649 if (!zend_parse_arg_str(arg, str, check_null)) { in zend_parse_arg_impl()
664 if (!zend_parse_arg_bool(arg, p, is_null, check_null)) { in zend_parse_arg_impl()
674 if (!zend_parse_arg_resource(arg, p, check_null)) { in zend_parse_arg_impl()
685 if (!zend_parse_arg_array(arg, p, check_null, c == 'A')) { in zend_parse_arg_impl()
696 if (!zend_parse_arg_array_ht(arg, p, check_null, c == 'H', separate)) { in zend_parse_arg_impl()
706 if (!zend_parse_arg_object(arg, p, NULL, check_null)) { in zend_parse_arg_impl()
717 if (!zend_parse_arg_object(arg, p, ce, check_null)) { in zend_parse_arg_impl()
732 if (check_null && Z_TYPE_P(arg) == IS_NULL) { in zend_parse_arg_impl()
736 convert_to_string_ex(arg); in zend_parse_arg_impl()
737 if ((lookup = zend_lookup_class(Z_STR_P(arg))) == NULL) { in zend_parse_arg_impl()
745 ZSTR_VAL(ce_base->name), Z_STRVAL_P(arg)); in zend_parse_arg_impl()
752 Z_STRVAL_P(arg)); in zend_parse_arg_impl()
766 if (check_null && Z_TYPE_P(arg) == IS_NULL) { in zend_parse_arg_impl()
772 if (zend_fcall_info_init(arg, 0, fci, fcc, NULL, &is_callable_error) == SUCCESS) { in zend_parse_arg_impl()
814 static int zend_parse_arg(int arg_num, zval *arg, va_list *va, const char **spec, int flags) /* {{{… in zend_parse_arg() argument
820 expected_type = zend_parse_arg_impl(arg_num, arg, va, spec, &error, &severity); in zend_parse_arg()
836 zend_zval_type_name(arg)); in zend_parse_arg()
848 ZEND_API int zend_parse_parameter(int flags, int arg_num, zval *arg, const char *spec, ...) in zend_parse_parameter() argument
854 ret = zend_parse_arg(arg_num, arg, &va, &spec, flags); in zend_parse_parameter()
876 zval *arg; in zend_parse_va_args() local
990 arg = ZEND_CALL_ARG(EG(current_execute_data), i + 1); in zend_parse_va_args()
992 if (zend_parse_arg(i+1, arg, va, &type_spec, flags) == FAILURE) { in zend_parse_va_args()
1304 ZEND_API int object_and_properties_init(zval *arg, zend_class_entry *class_type, HashTable *propert… in object_and_properties_init() argument
1314 ZVAL_NULL(arg); in object_and_properties_init()
1315 Z_OBJ_P(arg) = NULL; in object_and_properties_init()
1321 ZVAL_NULL(arg); in object_and_properties_init()
1322 Z_OBJ_P(arg) = NULL; in object_and_properties_init()
1328 ZVAL_OBJ(arg, zend_objects_new(class_type)); in object_and_properties_init()
1330 object_properties_init_ex(Z_OBJ_P(arg), properties); in object_and_properties_init()
1332 object_properties_init(Z_OBJ_P(arg), class_type); in object_and_properties_init()
1335 ZVAL_OBJ(arg, class_type->create_object(class_type)); in object_and_properties_init()
1341 ZEND_API int object_init_ex(zval *arg, zend_class_entry *class_type) /* {{{ */ in object_init_ex() argument
1343 return object_and_properties_init(arg, class_type, 0); in object_init_ex()
1347 ZEND_API int object_init(zval *arg) /* {{{ */ in object_init() argument
1349 ZVAL_OBJ(arg, zend_objects_new(zend_standard_class_def)); in object_init()
1354 ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n) /* {{{ */ in add_assoc_long_ex() argument
1359 zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_long_ex()
1364 ZEND_API int add_assoc_null_ex(zval *arg, const char *key, size_t key_len) /* {{{ */ in add_assoc_null_ex() argument
1369 zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_null_ex()
1374 ZEND_API int add_assoc_bool_ex(zval *arg, const char *key, size_t key_len, int b) /* {{{ */ in add_assoc_bool_ex() argument
1379 zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_bool_ex()
1384 ZEND_API int add_assoc_resource_ex(zval *arg, const char *key, size_t key_len, zend_resource *r) /*… in add_assoc_resource_ex() argument
1389 zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_resource_ex()
1394 ZEND_API int add_assoc_double_ex(zval *arg, const char *key, size_t key_len, double d) /* {{{ */ in add_assoc_double_ex() argument
1399 zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_double_ex()
1404 ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str) /* {{{ … in add_assoc_str_ex() argument
1409 zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_str_ex()
1414 ZEND_API int add_assoc_string_ex(zval *arg, const char *key, size_t key_len, const char *str) /* {{… in add_assoc_string_ex() argument
1419 zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_string_ex()
1424 ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, size_t key_len, const char *str, size… in add_assoc_stringl_ex() argument
1429 zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_stringl_ex()
1434 ZEND_API int add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval *value) /* {{{ */ in add_assoc_zval_ex() argument
1436 zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, value); in add_assoc_zval_ex()
1441 ZEND_API int add_index_long(zval *arg, zend_ulong index, zend_long n) /* {{{ */ in add_index_long() argument
1446 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_long()
1451 ZEND_API int add_index_null(zval *arg, zend_ulong index) /* {{{ */ in add_index_null() argument
1456 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_null()
1461 ZEND_API int add_index_bool(zval *arg, zend_ulong index, int b) /* {{{ */ in add_index_bool() argument
1466 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_bool()
1471 ZEND_API int add_index_resource(zval *arg, zend_ulong index, zend_resource *r) /* {{{ */ in add_index_resource() argument
1476 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_resource()
1481 ZEND_API int add_index_double(zval *arg, zend_ulong index, double d) /* {{{ */ in add_index_double() argument
1486 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_double()
1491 ZEND_API int add_index_str(zval *arg, zend_ulong index, zend_string *str) /* {{{ */ in add_index_str() argument
1496 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_str()
1501 ZEND_API int add_index_string(zval *arg, zend_ulong index, const char *str) /* {{{ */ in add_index_string() argument
1506 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_string()
1511 ZEND_API int add_index_stringl(zval *arg, zend_ulong index, const char *str, size_t length) /* {{{ … in add_index_stringl() argument
1516 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_stringl()
1521 ZEND_API int add_index_zval(zval *arg, zend_ulong index, zval *value) /* {{{ */ in add_index_zval() argument
1523 zend_hash_index_update(Z_ARRVAL_P(arg), index, value); in add_index_zval()
1528 ZEND_API int add_next_index_long(zval *arg, zend_long n) /* {{{ */ in add_next_index_long() argument
1533 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_long()
1537 ZEND_API int add_next_index_null(zval *arg) /* {{{ */ in add_next_index_null() argument
1542 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_null()
1546 ZEND_API int add_next_index_bool(zval *arg, int b) /* {{{ */ in add_next_index_bool() argument
1551 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_bool()
1555 ZEND_API int add_next_index_resource(zval *arg, zend_resource *r) /* {{{ */ in add_next_index_resource() argument
1560 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_resource()
1564 ZEND_API int add_next_index_double(zval *arg, double d) /* {{{ */ in add_next_index_double() argument
1569 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_double()
1573 ZEND_API int add_next_index_str(zval *arg, zend_string *str) /* {{{ */ in add_next_index_str() argument
1578 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_str()
1582 ZEND_API int add_next_index_string(zval *arg, const char *str) /* {{{ */ in add_next_index_string() argument
1587 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_string()
1591 ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length) /* {{{ */ in add_next_index_stringl() argument
1596 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_stringl()
1600 ZEND_API int add_next_index_zval(zval *arg, zval *value) /* {{{ */ in add_next_index_zval() argument
1602 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), value) ? SUCCESS : FAILURE; in add_next_index_zval()
1606 ZEND_API zval *add_get_assoc_string_ex(zval *arg, const char *key, uint32_t key_len, const char *st… in add_get_assoc_string_ex() argument
1611 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_get_assoc_string_ex()
1616 ZEND_API zval *add_get_assoc_stringl_ex(zval *arg, const char *key, uint32_t key_len, const char *s… in add_get_assoc_stringl_ex() argument
1621 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_get_assoc_stringl_ex()
1626 ZEND_API zval *add_get_index_long(zval *arg, zend_ulong index, zend_long l) /* {{{ */ in add_get_index_long() argument
1631 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_long()
1635 ZEND_API zval *add_get_index_double(zval *arg, zend_ulong index, double d) /* {{{ */ in add_get_index_double() argument
1640 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_double()
1644 ZEND_API zval *add_get_index_str(zval *arg, zend_ulong index, zend_string *str) /* {{{ */ in add_get_index_str() argument
1649 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_str()
1653 ZEND_API zval *add_get_index_string(zval *arg, zend_ulong index, const char *str) /* {{{ */ in add_get_index_string() argument
1658 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_string()
1662 ZEND_API zval *add_get_index_stringl(zval *arg, zend_ulong index, const char *str, size_t length) /… in add_get_index_stringl() argument
1667 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_stringl()
1712 ZEND_API int add_property_long_ex(zval *arg, const char *key, size_t key_len, zend_long n) /* {{{ */ in add_property_long_ex() argument
1719 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_long_ex()
1725 ZEND_API int add_property_bool_ex(zval *arg, const char *key, size_t key_len, zend_long b) /* {{{ */ in add_property_bool_ex() argument
1732 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_bool_ex()
1738 ZEND_API int add_property_null_ex(zval *arg, const char *key, size_t key_len) /* {{{ */ in add_property_null_ex() argument
1745 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_null_ex()
1751 ZEND_API int add_property_resource_ex(zval *arg, const char *key, size_t key_len, zend_resource *r)… in add_property_resource_ex() argument
1758 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_resource_ex()
1765 ZEND_API int add_property_double_ex(zval *arg, const char *key, size_t key_len, double d) /* {{{ */ in add_property_double_ex() argument
1772 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_double_ex()
1778 ZEND_API int add_property_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str) /* {… in add_property_str_ex() argument
1785 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_str_ex()
1792 ZEND_API int add_property_string_ex(zval *arg, const char *key, size_t key_len, const char *str) /*… in add_property_string_ex() argument
1799 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_string_ex()
1806 ZEND_API int add_property_stringl_ex(zval *arg, const char *key, size_t key_len, const char *str, s… in add_property_stringl_ex() argument
1813 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_stringl_ex()
1820 ZEND_API int add_property_zval_ex(zval *arg, const char *key, size_t key_len, zval *value) /* {{{ */ in add_property_zval_ex() argument
1825 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, value, NULL); in add_property_zval_ex()
2544 static int clean_module_class(zval *el, void *arg) /* {{{ */ in clean_module_class() argument
2547 int module_number = *(int *)arg; in clean_module_class()
3560 zval *arg, *params; in zend_fcall_info_args_ex() local
3576 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(args), arg) { in zend_fcall_info_args_ex()
3577 if (func && !Z_ISREF_P(arg) && ARG_SHOULD_BE_SENT_BY_REF(func, n)) { in zend_fcall_info_args_ex()
3578 ZVAL_NEW_REF(params, arg); in zend_fcall_info_args_ex()
3579 Z_TRY_ADDREF_P(arg); in zend_fcall_info_args_ex()
3581 ZVAL_COPY(params, arg); in zend_fcall_info_args_ex()
3623 zval *arg; in zend_fcall_info_argv() local
3636 arg = va_arg(*argv, zval *); in zend_fcall_info_argv()
3637 ZVAL_COPY(&fci->params[i], arg); in zend_fcall_info_argv()