Domanda

Is writing

<?=$variable?>

slower than

<?php echo $variable; ?>

In other words, what does the server interpret faster?

È stato utile?

Soluzione

I can guarantee you with absolute certainty that it won't matter one bit. :)

Altri suggerimenti

I don't think there will be a huge difference - but short-tags essentially have to get essentially converted first into the normal syntax when executed. I expect the differance is minimal - I have never tried to benchmark it!

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top