1<?php 2 3declare(strict_types=1); 4 5function takes_int(int $x) { 6 echo "Success!"; 7} 8 9takes_int(1.0); // fails in strict mode 10