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

From: Date: Thu, 25 Apr 2019 00:05:20 +0000
Subject: Re: [RFC] [VOTE] Deprecate PHP's short open tags
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  Groups: php.internals 
Request: Send a blank email to internals+get-105427@lists.php.net to get a copy of this message
On 25/04/2019 00:30, Christoph M. Becker wrote:
At the same time fixes for the PHP7.2 warnings would be helpful! My templates keep throwing 'count' warnings which currently have been fixed by simply removing the 'count' and leaving the value blank. That is until someone who knows how to fix it provides a fix. It's BUILDING cached templates which can't simply be sanitised by scanning the code base!
I don't think this belongs to the internals mailing list, so see <http://news.php.net/php.general/326733>.
If *I* was using count then that sort of fix would work. The problem is in the way SMARTY handles adding 'count' of a smarty variable in a template ... and certainly I have <? and <?= in the template caches as well although that may just require going through and wiping every cache and letting it rebuild. Enabling short tags is always on my check list since it became a requirement and I see no reason to change that. -- Lester Caine - G8HFL ----------------------------- Contact - https://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - https://lsces.co.uk EnquirySolve - https://enquirysolve.com/ Model Engineers Digital Workshop - https://medw.co.uk Rainbow Digital Media - https://rainbowdigitalmedia.co.uk

« previous php.internals (#105427) next »