Current time: 12-06-2019, 01:02 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need some "did you know..." tips
06-25-2011, 11:34 AM
Post: #4
RE: Need some "did you know..." tips
- echo is faster than print.

- Wrap strings in single quotes (‘) instead of double quotes (“) for added speed. Why? because PHP searches for variables inside “…” but not in ‘…’

- RTFM!

ok, maybe that last one won't cut it, but far too often people don't optimize their code because they just don't READ THE... MANUAL!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Need some "did you know..." tips - pmeenan - 04-15-2011, 06:17 AM
RE: Need some "did you know..." tips - Bushido - 06-25-2011 11:34 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)