0

Hello, does all php versions accept the <?= ?> or no ??

Don't you think for designers <?= ?> is easier than <? echo ?>

Thank you

3
Contributors
5
Replies
6
Views
5 Years
Discussion Span
Last Post by cmps
0

Not all servers are configured to accept short tags. It may be easier, but more dangerous if you move your site to a different server / host.

Just use full tags - can't be that difficult surely?

I can't see why you'd need to use too many php tags anyway. If you separate your html and php properly or even use a templating engine.

0

ardav Thank you ... I am using framework and I can see in approx all video tutorials they are using <?= ?> instead of <?php echo ?>, it makes me curious to know more about it!!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.