funny · geeky · php code

A new way of array checking in PHP

i just saw the funniest thing in PHP yet! below is taken from here. This code is lifted from a socket handling class that I’ve been asked to work on today. Prepare to cringe: It’s worth noting that the foreach() statement will move from line 392 with so much as a return key (as it… Continue reading A new way of array checking in PHP