Is it better (faster for php at all) to declare you variables strict, or let php do it?
Example:
(string)$strVar1 = "Variable 1"; Or $strVar1 = "Variable 1";
In addition, while the topic is still variables, when the script has finished and output has been sent to the browser, does php unset all the variables and such, automatically?
php casts types automatically, so there shouldn't be much benefit. the manual has a section on this: http://www.php.net/manual/en/language.types.type-juggling.php
and php variables are not persistent between requests, so you wouldn't need to destroy them yourself.
Thanks for that info'. =)