On 24/04/2019 16:07, Stephen Reay wrote:
Or use an IDE that has built-in support for inspections/fixing like this, or, as I
said, run sed over your project files. Replacing ‘<? ‘ with ‘<?php ‘ is hardly
a complex task.
But why should I have to bother at all?
As others have indicated <? ?> in templates is tidier and HAVING to add
thousands of 'php' to the templates serves no purpose other than bowing
to other peoples coding styles! There are other easier ways of shooting
myself in the foot especially since <?= is still perfectly acceptable :(
--
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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php