What does this symbol mean in PHP <?=
?
Example usage:
<h2>Manage Role: > (<?= $myACL->getRoleNameFromID($_GET['roleID']); ?>)</h2>
It's the PHP Short Tag equivalent of printing.
From the PHP INI:
Using short tags is discouraged when developing code meant for redistribution ; since short tags may not be supported on the target server.
See "Are PHP Short Tags Acceptable to Use?" on StackOverflow.
<?=
or long<?php echo
, you still needhtmlspecialchars()
. – bobince