note 20548 rejected from language.types by sander
| From: | sander@php.net | Date: | Mon, 08 Apr 2002 17:16:01 +0000 |
| Subject: | note 20548 rejected from language.types by sander | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-28973@lists.php.net to get a copy of this message | ||
With PHP 4.1.2 I get lots of undefined variable messages in my phplog file. These don't harm
proper execution and can be easily removed with for instance
if (!isset($myvar)) $myvar = "";
But... as this error exists, wouldn't it be more convenient to have support for pre-declaration
of variables in PHP, similar to the support within classes, ie:
var $myvar;