Re: Quick questions <?=something?>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux