3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class AA extends ArrayAccess { public function __set($key, $value) { echo "set $key = $value<br>"; } } $aa = new AA(); $aa['test'] = 1;
Output for 5.3.0 - 5.4.16
Fatal error: Class AA cannot extend from interface ArrayAccess in /in/3Lj8D on line 6
Process exited with code 255.