Re: PHP or ZEND thing?
| From: | Lars Torben Wilson | Date: | Mon, 16 Oct 2000 19:59:54 +0000 |
| Subject: | Re: PHP or ZEND thing? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-35189@lists.php.net to get a copy of this message | ||
Brian Moon writes:
> I have always thought it would be nice if PHP would handle:
>
> $data.="stuff";
>
> Without a warning. Is it possible to make it so PHP will simply initialize
> the var on first use in this case?
>
> Just a thought?
>
> Brian Moon
> --------------------------------------------------------------
> Phorum Dev Team - http://phorum.org
> Making better forums with PHP
> --------------------------------------------------------------
The only way is to turn off E_NOTICE level error messages. Which is
probably a good idea in production environments, but definitely a very
bad idea while developing.
--
+----------------------------------------------------------------+
|Torben Wilson <torben@php.net> Netmill iTech|
|http://www.coastnet.com/~torben http://www.netmill.fi|
|Ph: 1 250 383-9735 torben@netmill.fi|
+----------------------------------------------------------------+