3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $waypoints = explode('|', 'SW1W0EB|W22DN|SE58RF|W91EH'); $wp = Array(); foreach($waypoints as $waypoint) { $wp[] = Array('location' => $waypoint, 'stopover' => true); }
Output for 4.3.0 - 7.1.0