3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { public $o = 'test'; public function test() { echo "a $this->test b c"; } } $a = new A;
Output for 5.2.16 - 7.1.0