By default, PHP uses type juggling—for example, passing "10" to a function expecting an int silently converts it to 10. While convenient, silent conversions can hide subtle bugs.
Adding declare(strict_types=1); at the very top of a PHP file forces exact types and catches mismatches immediately. You can also explicitly cast values with (int), (float), (string), or (bool).