3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class foo{ function name(){ $this -> surname = "brant"; $this -> firstname = "wong"; $middle = "Big"; echo $middle; } } $foo = new foo(); ?>
based on Vd5Us
Output for 4.3.0 - 7.1.7