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

PHPMaster.com:
Spooky Scary PHP
Oct 24, 2012 @ 13:39:22

In the spirit of Halloween coming next week PHPMaster.com has posted some spooky scary PHP code in their latest post from the editor of the site, Timothy Boronczyk.

Break out the candy corn and apple cider; it’s that time of year again! The rest of the world may not celebrate Halloween as hog wild as in America, but I thought it’d be fun to share some scary PHP stuff to mark the holiday. This is a fun article, sharing with you some scary (but logical) behavior found in PHP itself, and spooky (and possibly quite illogical) ways in which some have twisted PHP to do their bidding. Think of this as my treat to you, a little bit of geek “mind-candy” – because why should all the trick-or-treaters have all goodies?

The code examples include "The Haunted Array", "The Phantom Database Connection" and "An API Worthy of Dr. Frankenstein". Enjoy! (and maybe share some of your own too)

tagged: scary example array database connection api

Link:


Trending Topics: