PHP is currently dynamically-typed. You can set a variable as one thing and it can be changed to something else and go through operations suited for other variable types (i.e. adding 5 to "3" = 8).

So, do you think PHP would be better with static typing? This is where you declare variables first.

I'm talking of something like:
PHP Code:
String $var 
Int $num Integer.parseInt($_GET['number']);
$something//can equal anything.