Re: [RFC] [VOTE] Deprecate PHP's short open tags, again

From: Date: Fri, 09 Aug 2019 11:26:06 +0000
Subject: Re: [RFC] [VOTE] Deprecate PHP's short open tags, again
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-106481@lists.php.net to get a copy of this message
> I did mention such example with the 'engine' setting ( > https://www.php.net/manual/en/apache.configuration.php#ini.engine as > it's PHP_INI_ALL ). Of course you could ask why would anyone do that (and afaik it's sapi > specific) but technically it can happen just in one "hard to notice" subdirectory/tree. This does not explain how someone could use that feature *by accident*. I gave an example where you can use short open tags by accident, and it is really easy (the most popular IDE sometimes generates code with short open tags) and hard to notice (it is not easy to spot a difference between <? and <?php). How can you compare this to situation when you create a separate file with an explicit directive to disable PHP engine, and then be surprised that code is not executed? Regards, Robert Korulczyk

« previous php.internals (#106481) next »