Jump to content
MakeWebGames

Recommended Posts

Posted

lol we all have opinions and code differently here is my opinion..., echo is faster and I will not change to print. also i mention it before with quotes why is it necessary to use a double quote when there is no $var in place in the echo statement? it is parsing the line meaning taking up time which if anyone is going off speed for their entire website they should use single quoting when there is no $var present... such as echo 'hello'; instead of echo "hello"; ... No not much a difference in speed, but if you are wanting speed the best solution is to use php correctly lol echo "hello $name."; <--that is ok to double quote ...echo "hello";<-- Is bad to double quote, because it is parsing that line and wasting that millisecond to parse that line when parsing is not needed...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...