PHP Performance Question effect of ;

Which one is good for performance
<?php echo "Something";?> or <?php echo "Something"?>

what is the effect of ; to performance
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AFAIK, the ";" has absolutely no implication on performance at all. It is used only for syntax.

In your example above, you don't need the ; at all, since there is nothing following, but for multiple calculations, assignments etc, you need to use ;
Also, to add to what psimation stated. For a simple php echo statement in html you can also use the shorthand version <?="something"?> or <?=$myVariable?> it won't hurt your performance, and it sure saves you a few keystrokes.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It won't have any performance impact. Take into account that the PHP file is parsed before execution, so it won't make any difference but in the first parsing, perhaps. You won't notice any measurable impact anyway. As lpxtech said, <?=$var?> is very handy for fast coding and for getting a more readable code.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.