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

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

Thank you

Member Avatar
diafol

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.

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!!

Member Avatar
diafol

OK solved?

in version of server

yup Solved