A very bad implementation of a squash ladder in PHP