E0049 reports builtin calls whose literal arguments are invalid and would make
PHP throw a ValueError at runtime.
str_repeat() with a negative repeat countarray_fill() with a negative countrange() with a zero stepstr_split() and mb_str_split() with a non-positive chunk lengthexplode() with an empty delimiterarray_chunk() with a non-positive chunk sizearray_combine() with literal arrays of different lengthsrandom_int(), mt_rand(), and rand() with a minimum greater than the
maximumThe rule only reports values it can prove from literals, including unary minus, parenthesized literals, and literal array lengths. Non-literal arguments are ignored so the rule does not duplicate runtime type analysis.
i64 are ignored.E0049 has no configuration options and is enabled by default.