Re: Undefined Variables
| From: | Matijn Woudt | Date: | Thu, 14 Feb 2013 18:12:55 +0000 |
| Subject: | Re: Undefined Variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320207@lists.php.net to get a copy of this message | ||
On Thu, Feb 14, 2013 at 7:04 PM, Roman Gelfand <rgelfand2@gmail.com> wrote:
> Is there a performance hit when a variable is undefined? or, perhaps,
> aside from the obvious uncontrolled conditions, are there other
> impacts?
>
> Thanks in advance
There might be a little performance hit because the error is getting logged
in your webservers logs, though if it is noticeable depends on which
webserver you're using, and how often there are undefined variables.
- Matijn