3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?hh $x = Vector {1, 2}; var_dump($x);
based on UGB9o
Output for hhvm-3.10.0 - 3.12.0
object(HH\Vector)#1 (2) { [0]=> int(1) [1]=> int(2) }
Output for 5.4.0 - 5.4.32
<?hh $x = Vector {1, 2}; var_dump($x);