3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { protected static $holder = array(); public static function method() { Test::holder[] = array('one' => 'item'); } }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.26
Parse error: syntax error, unexpected '[' in /in/RnMO8 on line 10
Process exited with code 255.

preferences:
192.49 ms | 1387 KiB | 63 Q