On Mon, 11 Mar 2019 at 20:06, G. P. B. <george.bany...@gmail.com> wrote:

> From my understanding, the `<?` tag is not available without the directive,
> so maybe we should deprecate PHP's short tag altogether?
>


I think when that's been proposed in the past, people have said they like
it for use in simple templates, often along with the "alternative control
structures", e.g.:

<? foreach ( $things as $thing ): ?>
<? if ( $thing->quantity > 1 ): ?><p><?= $thing->description; ?></p><?
endif; ?>
<? endforeach; ?>

I couldn't find any discussions for a few years, though, so it's possible
opinions have changed.

Regards,
-- 
Rowan Collins
[IMSoP]

Reply via email to