On 2015-09-08 21:22, Rowan Collins wrote:
If you've assigned meaning to that variable you should be initialising
it somewhere so that your code is more readable and less fragile.

+1

It would be nice to have variable declarations (such as var $foo or TypeName $foo) and notices when using (especially assigning) non-declared variables. They already did this for JavaScript...

--
Lauri Kenttä

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to