13 Temmuz 2009 Pazartesi

Optimizing your Php Code

  1. If a method can be static, declare it static. Speed improvement is by a factor of 4.
  2. echo is faster than print.
  3. Use echo's multiple parameters instead of string concatenation.