What are the most surprisingly useful PHP functions?


These two functions alone are worth using PHP. In fact, I often download them from http://phpjs.org/ so that I can use them in my JavaScript-heavy apps (especially useful in Node.JS).

I’m also a huge fan of (just like pretty much everyone else):

  • print_r()
  • var_dump()
  • json_decode() and json_encode()
  • isset()
  • empty()
  • number_format()
  • ucfirst() and ucwords()
  • base64_decode() and base64_encode()
  • mail()



Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

Magento Custom Sms Extension

Next Post
site may hacked

Remove this site may be hacked google

Related Posts