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