Ryan A wrote:
Hey all,
Am a bit confused, from the time I learnt PHP (big thanks to this list for
helping me) I have used something like this
<?php echo $something; ?>
but when reading someone elses code I sometimes stumble accross this:
<?php=something?>
is this 100% valid php?
I have not found it in the manual... (also am not sure if the above example
needs a $ symbol...)

<?= $string ?>

means the same as

<?php echo $string ?>

if short_open_tag is on

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to