Re: Re: Bug #16838 Updated: PHP short_open_tags and <?xml .. ?>

From: Date: Fri, 26 Apr 2002 16:50:19 +0000
Subject: Re: Re: Bug #16838 Updated: PHP short_open_tags and <?xml .. ?>
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-83379@lists.php.net to get a copy of this message
Comparing notice for undefined variables and short tags makes no sense in my opinion. There's absolutely nothing wrong with using short tags if you have short tags turned on, and you're using for code that you don't intend to be distributed for reuse. That is not the case with using undefined variables - which may hide bugs behind them... Zeev At 19:12 26/04/2002, Hartmut Holzgraefe wrote:
Markus Fischer wrote:
    By all means, this is completely insane :-) Have you
    seriously thought about what this sentence means? This would
    break 99% of the scripts, but I bet you had that in mind ?  :)
no, it isn't if it is an E_NOTICE warning it would break exactly as many scripts as undefined variables or array-indices and unquoted strings break and even if it was an E_WARNING it should not harm as in production environment you turn of display_errors and in developement environments i *want* this displayed ;) -- Hartmut Holzgraefe hartmut@six.de http://www.six.de/ +49-711-99091-77 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.dev (#83379) next »