<?php function foo(int $bar) { var_dump($bar); } echo "These ones are all ok:".PHP_EOL; foo(7); foo('7'); foo("7345"); echo PHP_EOL."And now for a bad one...".PHP_EOL; foo("sgjhdfkg");
You have javascript disabled. You will not be able to edit any code.