Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

hollyit's avatar

HEADS-UP: PHP Short tags are deprecated in 7.4

Information is available here:

https://wiki.php.net/rfc/deprecate_php_short_tags

NOTE: the templating tag <?= is not affected by this.

0 likes
2 replies
jlrdw's avatar

I always use:

<?php

anyway. Glad to see it doesn't affect:

<?=
1 like
hollyit's avatar

@JLRDW - I have been the same way for as long as I can remember (going back to PHP 4 days), but there's still people out there that think saving those 3 keystrokes saves a lot. Of course come PHP8, they'll be grepping out legacy code to fix things.

Please or to participate in this conversation.