Re: PHP 7.1 - Address PHPSadness #28?

From: Date: Wed, 09 Sep 2015 14:10:10 +0000
Subject: Re: PHP 7.1 - Address PHPSadness #28?
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to internals+get-88125@lists.php.net to get a copy of this message
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ä

« previous php.internals (#88125) next »