3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $info = array('0'=>'coffee', '1'=>'brown', '2'=>'caffeine'); // Listing all the variables list($drink, $color, $power) = $info; echo "$drink is $color and $power makes it special.\n";
Output for 4.3.0 - 7.1.0
coffee is brown and caffeine makes it special.