Re: Undefined Variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matijn Woudt in php.general (Thu, 14 Feb 2013 19:12:55 +0100):
>On Thu, Feb 14, 2013 at 7:04 PM, Roman Gelfand <rgelfand2@xxxxxxxxx> wrote:
>
>> Is there a performance hit when a variable is undefined? or, perhaps,
>> aside from the obvious uncontrolled conditions, are there other
>> impacts?
>
>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.

And frameworks like Drupal might intercept the error and store it in the
watchdog file. Then the performance will be degraded.

Jan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux