PHP Golf!

Monday January 11, 2010

Quite some time ago, back in 2005, when the internets was young, a few users on BlueSfear banded together and started a little programming golf competition.

The rules were simple:
Write a function to solve the problem using the least number of characters possible.
The function can not print anything, all results must be returned.
It does not need to be efficient, it must just work.

I've taken the liberty of expanding the functions to be legible, but have included the original code as well. Without any more adieu, here is the first of some nifty/useful/useless PHP functions


There are currently no comments.

Comments are currently disabled.