3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //Enter your code here, enjoy! $name = 'Tobias'; $age = 28; var_dump(compact($name, $age));
Output for 7.3.0 - 7.3.1
Notice: compact(): Undefined variable: Tobias in /in/Rfq4g on line 7 array(0) { }
Output for 5.6.0 - 5.6.38, hhvm-3.18.4 - 3.22.0, 7.0.0 - 7.2.13
array(0) { }