Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Things You Probably Didn’t Know About PHP – Part 2
Jan 21, 2010 @ 12:41:55

The DevTheWeb.net blog is back again with the second installment of "Things You Probably Didn't Know About PHP" - some lesser known facts about the popular web language (part one is here).

Some of the things on his list this time include:

  • Using the type matching equality operators (like "===" versus just "==")
  • Returning multiple values by reference
  • Chaining method calls
  • Returning the value of print_r as a string
  • Using the mysqli functions instead of just mysql
tagged: didnt know syntax feature