3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Foo { protected $bar; public function __get($property) { return $this->bar; } public function __set($property, &$value) { $this->bar = &$value; } }
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.0 - 5.4.21
Fatal error: Method Foo::__set() cannot take arguments by reference in /in/GlbHT on line 14
Process exited with code 255.