3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Location{ private static $_cache = array(); public static function asd() { Location::_cache[] = 'qwe'; } } var_dump(Location::asd());
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected '[' in /in/5a25a on line 8
Process exited with code 255.