3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $city = "San Francisco"; $state = "CA"; $event = "SIGGRAPH"; $location_vars = array("city", "state"); $result = compact("event", "nothing_here", $location_vars);
Output for 4.3.0 - 7.1.0