Here's another cool piece of code by Matthias Verraes:

function it($m,$p){echo ($p?'✔︎':'')." It $m\n"; if(!$p){$GLOBALS['f']=1;}}function done(){if(@$GLOBALS['f'])die(1);}

Yep, that's the entire test framework. More info at:

https://gist.github.com/mathiasverraes/9046427