Lines Matching refs:lval
722 zend_long lval; in zend_verify_weak_scalar_type_hint() local
732 uint8_t type = is_numeric_str_function(Z_STR_P(arg), &lval, &dval); in zend_verify_weak_scalar_type_hint()
735 ZVAL_LONG(arg, lval); in zend_verify_weak_scalar_type_hint()
743 } else if (zend_parse_arg_long_weak(arg, &lval, 0)) { in zend_verify_weak_scalar_type_hint()
745 ZVAL_LONG(arg, lval); in zend_verify_weak_scalar_type_hint()
783 zend_long lval; in zend_verify_weak_scalar_type_hint_no_sideeffect() local
789 if ((type_mask & MAY_BE_LONG) && zend_parse_arg_long_weak(arg, &lval, (uint32_t)-1)) { in zend_verify_weak_scalar_type_hint_no_sideeffect()
2199 static zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_undefined_offset(zend_long lval) in zend_undefined_offset() argument
2201 zend_error(E_WARNING, "Undefined array key " ZEND_LONG_FMT, lval); in zend_undefined_offset()
2209 ZEND_API ZEND_COLD zval* ZEND_FASTCALL zend_undefined_offset_write(HashTable *ht, zend_long lval) in zend_undefined_offset_write() argument
2216 zend_undefined_offset(lval); in zend_undefined_offset_write()
2226 return zend_hash_index_add_new(ht, lval, &EG(uninitialized_zval)); in zend_undefined_offset_write()
2356 value->lval = zend_dval_to_lval(Z_DVAL_P(dim)); in slow_index_convert()
2357 if (!zend_is_long_compatible(Z_DVAL_P(dim), value->lval)) { in slow_index_convert()
2387 value->lval = Z_RES_HANDLE_P(dim); in slow_index_convert()
2390 value->lval = 0; in slow_index_convert()
2393 value->lval = 1; in slow_index_convert()
2426 value->lval = zend_dval_to_lval(Z_DVAL_P(dim)); in slow_index_convert_w()
2427 if (!zend_is_long_compatible(Z_DVAL_P(dim), value->lval)) { in slow_index_convert_w()
2461 value->lval = Z_RES_HANDLE_P(dim); in slow_index_convert_w()
2464 value->lval = 0; in slow_index_convert_w()
2467 value->lval = 1; in slow_index_convert_w()
2547 hval = val.lval; in zend_fetch_dimension_address_inner()
2943 zend_long lval; in zend_isset_dim_slow() local
2946 lval = Z_LVAL_P(offset); in zend_isset_dim_slow()
2948 if (UNEXPECTED(lval < 0)) { /* Handle negative offset */ in zend_isset_dim_slow()
2949 lval += (zend_long)Z_STRLEN_P(container); in zend_isset_dim_slow()
2951 if (EXPECTED(lval >= 0) && (size_t)lval < Z_STRLEN_P(container)) { in zend_isset_dim_slow()
2963 lval = zval_get_long_ex(offset, /* is_strict */ true); in zend_isset_dim_slow()
2982 zend_long lval; in zend_isempty_dim_slow() local
2985 lval = Z_LVAL_P(offset); in zend_isempty_dim_slow()
2987 if (UNEXPECTED(lval < 0)) { /* Handle negative offset */ in zend_isempty_dim_slow()
2988 lval += (zend_long)Z_STRLEN_P(container); in zend_isempty_dim_slow()
2990 if (EXPECTED(lval >= 0) && (size_t)lval < Z_STRLEN_P(container)) { in zend_isempty_dim_slow()
2991 return (Z_STRVAL_P(container)[lval] == '0'); in zend_isempty_dim_slow()
3002 lval = zval_get_long_ex(offset, /* is_strict */ true); in zend_isempty_dim_slow()