PHP function names are case in …

PHP function names are case insensitive. Watch out if you’re extending a class with the same name but in different capitals. Don’t add a constructor, but if you do don’t make that constructor mail you a warning email and call the previous constructor.. (I’m looking at 200 emails generated in a few seconds. oops!)

By Donncha

Donncha Ó Caoimh is a software developer at Automattic and WordPress plugin developer. He posts photos at In Photos and can also be found on Twitter.

Leave a Reply