3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test{ public $a = 'test'; } echo (new Test())->a;
based on i6LCu
Output for 5.5.0 - 7.2.0
test