1 2 3 4 5 6 7 8 9
<?php // implicitly weak code function takes_int(int $x) { echo "Success!"; } takes_int(1.0); // succeeds in weak mode