3v4l.org

run code in 300+ PHP versions simultaneously
<?php $shits = array(); foreach(Shit::getShits() as $shit) { $shits[] = array( 'tird' => $shit->getTird(), 'ffff' => array_map( function($val) { // can't return key = value }, $this->getPoopies(); ) ); }
Output for 5.3.0 - 5.3.20, 5.4.0 - 5.4.10
Parse error: syntax error, unexpected ';' in R0X3R on line 10
Process exited with code 255.

preferences:
174.29 ms | 1395 KiB | 39 Q