3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Bloppety { var $x = 2; } $a = new bloppety; $a->x = 3; var_dump($a);
Output for 5.0.0 - 7.2.0
object(Bloppety)#1 (1) { ["x"]=> int(3) }
Output for 4.3.0 - 4.4.9
object(bloppety)(1) { ["x"]=> int(3) }