phanalist

E0049: Invalid Builtin Argument

E0049 reports builtin calls whose literal arguments are invalid and would make PHP throw a ValueError at runtime.

What it checks

The 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.

Model limits

Configuration

E0049 has no configuration options and is enabled by default.