Wrecked it with PHP 5.5 features

No need to pass $self = $this with anonymous functions
Using [] array semantics
Got rid of some whitespaces and added whitespaces between if/for/while/foreach and (