### Godot version

4.0 beta17

### System information

Windows10

### Issue description

call `"".split()`
Is there an infinite loop inside? Function does not return.

### Steps to reproduce

"".split()

### Minimal reproduction project

N/A
bool overflow = ((hex > INT64_MAX / 16) && (sign == 1 || (sign == -1 && hex != (INT64_MAX >> 4) + 1))) || (sign == -1 && hex == (INT64_MAX >> 4) + 1 && c > '0');
		ERR_FAIL_COND_V_MSG(overflow, sign == 1 ? INT64_MAX : INT64_MIN, "Cannot represent " + *this + " as a 64-bit signed integer, since the value is " + (sign == 1 ? "too large." : "too small."));
		hex *= 16;
		hex += n;
		s++;
	}
	return hex * sign;
}
int64_t String::bin_to_int() const {
	int len = length();
	if (len == 0) {
		return 0;
	}
	const char32_t *s = ptr();
	int64_t sign = s[0] == '-' ? -1 : 1;
	if (sign < 0) {
		s++;
	}
	if (len > 2 && s[0] == '0' && lower_case(s[1]) == 'b') {
		s += 2;
	}
	int64_t binary = 0;
	while (*s) {
		char32_t c = lower_case(*s);
		int64_t n;
		if (c == '0' || c == '1') {
			n = c - '0';
		} else {
			return 0;
		}