Frage

Is writing

<?=$variable?>

slower than

<?php echo $variable; ?>

In other words, what does the server interpret faster?

War es hilfreich?

Lösung

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

Andere Tipps

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!

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top