Type cast on a scalar value

Last modified: Last modified: 18 September 2025

Reports the type casts that can be evaluated in place and suggests replacing them with actual computed values.

See Type juggling (php.net) for details.