Lines Matching refs:arg

198 ZEND_API char *zend_zval_type_name(const zval *arg) /* {{{ */  in zend_zval_type_name()  argument
200 ZVAL_DEREF(arg); in zend_zval_type_name()
201 return zend_get_type_by_const(Z_TYPE_P(arg)); in zend_zval_type_name()
223 …ALL zend_wrong_parameter_type_error(int num, zend_expected_type expected_type, zval *arg) /* {{{ */ in zend_wrong_parameter_type_error() argument
233 …, space, get_active_function_name(), num, expected_error[expected_type], zend_zval_type_name(arg)); in zend_wrong_parameter_type_error()
237 …_COLD void ZEND_FASTCALL zend_wrong_parameter_class_error(int num, char *name, zval *arg) /* {{{ */ in zend_wrong_parameter_class_error() argument
243 class_name, space, get_active_function_name(), num, name, zend_zval_type_name(arg)); in zend_wrong_parameter_class_error()
266 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
270 if (check_null && Z_TYPE_P(arg) == IS_NULL) { in zend_parse_arg_class()
274 convert_to_string_ex(arg); in zend_parse_arg_class()
275 *pce = zend_lookup_class(Z_STR_P(arg)); in zend_parse_arg_class()
283 ZSTR_VAL(ce_base->name), Z_STRVAL_P(arg)); in zend_parse_arg_class()
294 Z_STRVAL_P(arg)); in zend_parse_arg_class()
301 ZEND_API int ZEND_FASTCALL zend_parse_arg_bool_weak(zval *arg, zend_bool *dest) /* {{{ */ in zend_parse_arg_bool_weak() argument
303 if (EXPECTED(Z_TYPE_P(arg) <= IS_STRING)) { in zend_parse_arg_bool_weak()
304 *dest = zend_is_true(arg); in zend_parse_arg_bool_weak()
312 ZEND_API int ZEND_FASTCALL zend_parse_arg_bool_slow(zval *arg, zend_bool *dest) /* {{{ */ in zend_parse_arg_bool_slow() argument
317 return zend_parse_arg_bool_weak(arg, dest); in zend_parse_arg_bool_slow()
321 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_weak(zval *arg, zend_long *dest) /* {{{ */ in zend_parse_arg_long_weak() argument
323 if (EXPECTED(Z_TYPE_P(arg) == IS_DOUBLE)) { in zend_parse_arg_long_weak()
324 if (UNEXPECTED(zend_isnan(Z_DVAL_P(arg)))) { in zend_parse_arg_long_weak()
327 if (UNEXPECTED(!ZEND_DOUBLE_FITS_LONG(Z_DVAL_P(arg)))) { in zend_parse_arg_long_weak()
330 *dest = zend_dval_to_lval(Z_DVAL_P(arg)); in zend_parse_arg_long_weak()
332 } else if (EXPECTED(Z_TYPE_P(arg) == IS_STRING)) { in zend_parse_arg_long_weak()
336 if (UNEXPECTED((type = is_numeric_str_function(Z_STR_P(arg), dest, &d)) != IS_LONG)) { in zend_parse_arg_long_weak()
350 } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { in zend_parse_arg_long_weak()
352 } else if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { in zend_parse_arg_long_weak()
361 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_slow(zval *arg, zend_long *dest) /* {{{ */ in zend_parse_arg_long_slow() argument
366 return zend_parse_arg_long_weak(arg, dest); in zend_parse_arg_long_slow()
370 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_cap_weak(zval *arg, zend_long *dest) /* {{{ */ in zend_parse_arg_long_cap_weak() argument
372 if (EXPECTED(Z_TYPE_P(arg) == IS_DOUBLE)) { in zend_parse_arg_long_cap_weak()
373 if (UNEXPECTED(zend_isnan(Z_DVAL_P(arg)))) { in zend_parse_arg_long_cap_weak()
376 *dest = zend_dval_to_lval_cap(Z_DVAL_P(arg)); in zend_parse_arg_long_cap_weak()
377 } else if (EXPECTED(Z_TYPE_P(arg) == IS_STRING)) { in zend_parse_arg_long_cap_weak()
381 if (UNEXPECTED((type = is_numeric_str_function(Z_STR_P(arg), dest, &d)) != IS_LONG)) { in zend_parse_arg_long_cap_weak()
391 } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { in zend_parse_arg_long_cap_weak()
393 } else if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { in zend_parse_arg_long_cap_weak()
402 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_cap_slow(zval *arg, zend_long *dest) /* {{{ */ in zend_parse_arg_long_cap_slow() argument
407 return zend_parse_arg_long_cap_weak(arg, dest); in zend_parse_arg_long_cap_slow()
411 ZEND_API int ZEND_FASTCALL zend_parse_arg_double_weak(zval *arg, double *dest) /* {{{ */ in zend_parse_arg_double_weak() argument
413 if (EXPECTED(Z_TYPE_P(arg) == IS_LONG)) { in zend_parse_arg_double_weak()
414 *dest = (double)Z_LVAL_P(arg); in zend_parse_arg_double_weak()
415 } else if (EXPECTED(Z_TYPE_P(arg) == IS_STRING)) { in zend_parse_arg_double_weak()
419 if (UNEXPECTED((type = is_numeric_str_function(Z_STR_P(arg), &l, dest)) != IS_DOUBLE)) { in zend_parse_arg_double_weak()
426 } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { in zend_parse_arg_double_weak()
428 } else if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { in zend_parse_arg_double_weak()
437 ZEND_API int ZEND_FASTCALL zend_parse_arg_double_slow(zval *arg, double *dest) /* {{{ */ in zend_parse_arg_double_slow() argument
439 if (EXPECTED(Z_TYPE_P(arg) == IS_LONG)) { in zend_parse_arg_double_slow()
441 *dest = (double)Z_LVAL_P(arg); in zend_parse_arg_double_slow()
445 return zend_parse_arg_double_weak(arg, dest); in zend_parse_arg_double_slow()
449 ZEND_API int ZEND_FASTCALL zend_parse_arg_str_weak(zval *arg, zend_string **dest) /* {{{ */ in zend_parse_arg_str_weak() argument
451 if (EXPECTED(Z_TYPE_P(arg) < IS_STRING)) { in zend_parse_arg_str_weak()
452 convert_to_string(arg); in zend_parse_arg_str_weak()
453 *dest = Z_STR_P(arg); in zend_parse_arg_str_weak()
454 } else if (UNEXPECTED(Z_TYPE_P(arg) == IS_OBJECT)) { in zend_parse_arg_str_weak()
455 if (Z_OBJ_HANDLER_P(arg, cast_object)) { in zend_parse_arg_str_weak()
457 if (Z_OBJ_HANDLER_P(arg, cast_object)(arg, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_str_weak()
458 zval_ptr_dtor(arg); in zend_parse_arg_str_weak()
459 ZVAL_COPY_VALUE(arg, &obj); in zend_parse_arg_str_weak()
460 *dest = Z_STR_P(arg); in zend_parse_arg_str_weak()
463 } else if (Z_OBJ_HANDLER_P(arg, get)) { in zend_parse_arg_str_weak()
465 zval *z = Z_OBJ_HANDLER_P(arg, get)(arg, &rv); in zend_parse_arg_str_weak()
469 zval_dtor(arg); in zend_parse_arg_str_weak()
470 ZVAL_NULL(arg); in zend_parse_arg_str_weak()
471 if (!zend_make_printable_zval(z, arg)) { in zend_parse_arg_str_weak()
472 ZVAL_COPY_VALUE(arg, z); in zend_parse_arg_str_weak()
474 *dest = Z_STR_P(arg); in zend_parse_arg_str_weak()
487 ZEND_API int ZEND_FASTCALL zend_parse_arg_str_slow(zval *arg, zend_string **dest) /* {{{ */ in zend_parse_arg_str_slow() argument
492 return zend_parse_arg_str_weak(arg, dest); in zend_parse_arg_str_slow()
496 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
502 zval *real_arg = arg; in zend_parse_arg_impl()
505 ZVAL_DEREF(arg); in zend_parse_arg_impl()
508 SEPARATE_ZVAL_NOREF(arg); in zend_parse_arg_impl()
509 real_arg = arg; in zend_parse_arg_impl()
530 if (!zend_parse_arg_long(arg, p, is_null, check_null, c == 'L')) { in zend_parse_arg_impl()
545 if (!zend_parse_arg_double(arg, p, is_null, check_null)) { in zend_parse_arg_impl()
555 if (!zend_parse_arg_string(arg, p, pl, check_null)) { in zend_parse_arg_impl()
565 if (!zend_parse_arg_path(arg, p, pl, check_null)) { in zend_parse_arg_impl()
574 if (!zend_parse_arg_path_str(arg, str, check_null)) { in zend_parse_arg_impl()
583 if (!zend_parse_arg_str(arg, str, check_null)) { in zend_parse_arg_impl()
598 if (!zend_parse_arg_bool(arg, p, is_null, check_null)) { in zend_parse_arg_impl()
608 if (!zend_parse_arg_resource(arg, p, check_null)) { in zend_parse_arg_impl()
619 if (!zend_parse_arg_array(arg, p, check_null, c == 'A')) { in zend_parse_arg_impl()
630 if (!zend_parse_arg_array_ht(arg, p, check_null, c == 'H', separate)) { in zend_parse_arg_impl()
640 if (!zend_parse_arg_object(arg, p, NULL, check_null)) { in zend_parse_arg_impl()
651 if (!zend_parse_arg_object(arg, p, ce, check_null)) { in zend_parse_arg_impl()
666 if (check_null && Z_TYPE_P(arg) == IS_NULL) { in zend_parse_arg_impl()
670 convert_to_string_ex(arg); in zend_parse_arg_impl()
671 if ((lookup = zend_lookup_class(Z_STR_P(arg))) == NULL) { in zend_parse_arg_impl()
679 ZSTR_VAL(ce_base->name), Z_STRVAL_P(arg)); in zend_parse_arg_impl()
686 Z_STRVAL_P(arg)); in zend_parse_arg_impl()
700 if (check_null && Z_TYPE_P(arg) == IS_NULL) { in zend_parse_arg_impl()
706 if (zend_fcall_info_init(arg, 0, fci, fcc, NULL, &is_callable_error) == SUCCESS) { in zend_parse_arg_impl()
748 static int zend_parse_arg(int arg_num, zval *arg, va_list *va, const char **spec, int flags) /* {{{… in zend_parse_arg() argument
754 expected_type = zend_parse_arg_impl(arg_num, arg, va, spec, &error, &severity); in zend_parse_arg()
770 zend_zval_type_name(arg)); in zend_parse_arg()
782 ZEND_API int zend_parse_parameter(int flags, int arg_num, zval *arg, const char *spec, ...) in zend_parse_parameter() argument
788 ret = zend_parse_arg(arg_num, arg, &va, &spec, flags); in zend_parse_parameter()
810 zval *arg; in zend_parse_va_args() local
924 arg = ZEND_CALL_ARG(EG(current_execute_data), i + 1); in zend_parse_va_args()
926 if (zend_parse_arg(i+1, arg, va, &type_spec, flags) == FAILURE) { in zend_parse_va_args()
1058 ZEND_API int _array_init(zval *arg, uint32_t size ZEND_FILE_LINE_DC) /* {{{ */ in _array_init() argument
1060 ZVAL_NEW_ARR(arg); in _array_init()
1061 _zend_hash_init(Z_ARRVAL_P(arg), size, ZVAL_PTR_DTOR, 0 ZEND_FILE_LINE_RELAY_CC); in _array_init()
1271 ZEND_API int _object_and_properties_init(zval *arg, zend_class_entry *class_type, HashTable *proper… in _object_and_properties_init() argument
1281 ZVAL_NULL(arg); in _object_and_properties_init()
1282 Z_OBJ_P(arg) = NULL; in _object_and_properties_init()
1288 ZVAL_NULL(arg); in _object_and_properties_init()
1289 Z_OBJ_P(arg) = NULL; in _object_and_properties_init()
1295 ZVAL_OBJ(arg, zend_objects_new(class_type)); in _object_and_properties_init()
1297 object_properties_init_ex(Z_OBJ_P(arg), properties); in _object_and_properties_init()
1299 object_properties_init(Z_OBJ_P(arg), class_type); in _object_and_properties_init()
1302 ZVAL_OBJ(arg, class_type->create_object(class_type)); in _object_and_properties_init()
1308 ZEND_API int _object_init_ex(zval *arg, zend_class_entry *class_type ZEND_FILE_LINE_DC) /* {{{ */ in _object_init_ex() argument
1310 return _object_and_properties_init(arg, class_type, 0 ZEND_FILE_LINE_RELAY_CC); in _object_init_ex()
1314 ZEND_API int _object_init(zval *arg ZEND_FILE_LINE_DC) /* {{{ */ in _object_init()
1316 return _object_init_ex(arg, zend_standard_class_def ZEND_FILE_LINE_RELAY_CC); in _object_init()
1320 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
1325 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_long_ex()
1330 ZEND_API int add_assoc_null_ex(zval *arg, const char *key, size_t key_len) /* {{{ */ in add_assoc_null_ex() argument
1335 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_null_ex()
1340 ZEND_API int add_assoc_bool_ex(zval *arg, const char *key, size_t key_len, int b) /* {{{ */ in add_assoc_bool_ex() argument
1345 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_bool_ex()
1350 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
1355 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_resource_ex()
1360 ZEND_API int add_assoc_double_ex(zval *arg, const char *key, size_t key_len, double d) /* {{{ */ in add_assoc_double_ex() argument
1365 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_double_ex()
1370 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
1375 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_str_ex()
1380 ZEND_API int add_assoc_string_ex(zval *arg, const char *key, size_t key_len, char *str) /* {{{ */ in add_assoc_string_ex() argument
1385 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_string_ex()
1390 ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, size_t key_len, char *str, size_t len… in add_assoc_stringl_ex() argument
1395 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_stringl_ex()
1400 ZEND_API int add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval *value) /* {{{ */ in add_assoc_zval_ex() argument
1404 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, value); in add_assoc_zval_ex()
1409 ZEND_API int add_index_long(zval *arg, zend_ulong index, zend_long n) /* {{{ */ in add_index_long() argument
1414 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_long()
1418 ZEND_API int add_index_null(zval *arg, zend_ulong index) /* {{{ */ in add_index_null() argument
1423 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_null()
1427 ZEND_API int add_index_bool(zval *arg, zend_ulong index, int b) /* {{{ */ in add_index_bool() argument
1432 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_bool()
1436 ZEND_API int add_index_resource(zval *arg, zend_ulong index, zend_resource *r) /* {{{ */ in add_index_resource() argument
1441 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_resource()
1445 ZEND_API int add_index_double(zval *arg, zend_ulong index, double d) /* {{{ */ in add_index_double() argument
1450 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_double()
1454 ZEND_API int add_index_str(zval *arg, zend_ulong index, zend_string *str) /* {{{ */ in add_index_str() argument
1459 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_str()
1463 ZEND_API int add_index_string(zval *arg, zend_ulong index, const char *str) /* {{{ */ in add_index_string() argument
1468 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_string()
1472 ZEND_API int add_index_stringl(zval *arg, zend_ulong index, const char *str, size_t length) /* {{{ … in add_index_stringl() argument
1477 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_stringl()
1481 ZEND_API int add_index_zval(zval *arg, zend_ulong index, zval *value) /* {{{ */ in add_index_zval() argument
1483 return zend_hash_index_update(Z_ARRVAL_P(arg), index, value) ? SUCCESS : FAILURE; in add_index_zval()
1487 ZEND_API int add_next_index_long(zval *arg, zend_long n) /* {{{ */ in add_next_index_long() argument
1492 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_long()
1496 ZEND_API int add_next_index_null(zval *arg) /* {{{ */ in add_next_index_null() argument
1501 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_null()
1505 ZEND_API int add_next_index_bool(zval *arg, int b) /* {{{ */ in add_next_index_bool() argument
1510 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_bool()
1514 ZEND_API int add_next_index_resource(zval *arg, zend_resource *r) /* {{{ */ in add_next_index_resource() argument
1519 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_resource()
1523 ZEND_API int add_next_index_double(zval *arg, double d) /* {{{ */ in add_next_index_double() argument
1528 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_double()
1532 ZEND_API int add_next_index_str(zval *arg, zend_string *str) /* {{{ */ in add_next_index_str() argument
1537 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_str()
1541 ZEND_API int add_next_index_string(zval *arg, const char *str) /* {{{ */ in add_next_index_string() argument
1546 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_string()
1550 ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length) /* {{{ */ in add_next_index_stringl() argument
1555 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_stringl()
1559 ZEND_API int add_next_index_zval(zval *arg, zval *value) /* {{{ */ in add_next_index_zval() argument
1561 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), value) ? SUCCESS : FAILURE; in add_next_index_zval()
1565 ZEND_API zval *add_get_assoc_string_ex(zval *arg, const char *key, uint key_len, const char *str) /… in add_get_assoc_string_ex() argument
1570 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_get_assoc_string_ex()
1575 ZEND_API zval *add_get_assoc_stringl_ex(zval *arg, const char *key, uint key_len, const char *str, … in add_get_assoc_stringl_ex() argument
1580 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_get_assoc_stringl_ex()
1585 ZEND_API zval *add_get_index_long(zval *arg, zend_ulong index, zend_long l) /* {{{ */ in add_get_index_long() argument
1590 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_long()
1594 ZEND_API zval *add_get_index_double(zval *arg, zend_ulong index, double d) /* {{{ */ in add_get_index_double() argument
1599 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_double()
1603 ZEND_API zval *add_get_index_str(zval *arg, zend_ulong index, zend_string *str) /* {{{ */ in add_get_index_str() argument
1608 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_str()
1612 ZEND_API zval *add_get_index_string(zval *arg, zend_ulong index, const char *str) /* {{{ */ in add_get_index_string() argument
1617 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_string()
1621 ZEND_API zval *add_get_index_stringl(zval *arg, zend_ulong index, const char *str, size_t length) /… in add_get_index_stringl() argument
1626 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_stringl()
1673 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
1680 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_long_ex()
1687 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
1694 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_bool_ex()
1701 ZEND_API int add_property_null_ex(zval *arg, const char *key, size_t key_len) /* {{{ */ in add_property_null_ex() argument
1708 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_null_ex()
1715 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
1722 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_resource_ex()
1729 ZEND_API int add_property_double_ex(zval *arg, const char *key, size_t key_len, double d) /* {{{ */ in add_property_double_ex() argument
1736 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_double_ex()
1743 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
1750 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_str_ex()
1757 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
1764 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_string_ex()
1771 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
1778 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_stringl_ex()
1785 ZEND_API int add_property_zval_ex(zval *arg, const char *key, size_t key_len, zval *value) /* {{{ */ in add_property_zval_ex() argument
1790 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, value, NULL); in add_property_zval_ex()
2470 static int clean_module_class(zval *el, void *arg) /* {{{ */ in clean_module_class() argument
2473 int module_number = *(int *)arg; in clean_module_class()
3477 zval *arg, *params; in zend_fcall_info_args_ex() local
3493 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(args), arg) { in zend_fcall_info_args_ex()
3494 if (func && !Z_ISREF_P(arg) && ARG_SHOULD_BE_SENT_BY_REF(func, n)) { in zend_fcall_info_args_ex()
3495 ZVAL_NEW_REF(params, arg); in zend_fcall_info_args_ex()
3496 if (Z_REFCOUNTED_P(arg)) { in zend_fcall_info_args_ex()
3497 Z_ADDREF_P(arg); in zend_fcall_info_args_ex()
3500 ZVAL_COPY(params, arg); in zend_fcall_info_args_ex()
3542 zval *arg; in zend_fcall_info_argv() local
3555 arg = va_arg(*argv, zval *); in zend_fcall_info_argv()
3556 ZVAL_COPY(&fci->params[i], arg); in zend_fcall_info_argv()