3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $wl = array( 'word2' => 'link2.com', 'word3' => 'link3.com', 'word4' => 'link4.com', 'word5' => 'link5.com' ); //shuffle($wl); $newarr = array_keys($wl); print_r($newarr);
Output for 4.3.0 - 7.1.0
Array ( [0] => word2 [1] => word3 [2] => word4 [3] => word5 )