strict_types in PHP – How It Works and Why It Matters
strict_types in PHP By default, PHP uses what is known as “type juggling”, which means automatic type coercion. In practice, this means the PHP interpreter tries to “guess” what type you intend to use and converts values on the fly, without throwing errors or even warnings. For example, if a function or operator expects a […]
Read more