3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr1 = array( "2179454040" => "127.0.0.1:6379", "2159827012" => "127.0.0.1:6380", "2171050562" => "127.0.0.1:6380", "2153052555" => "127.0.0.1:6381", "2171236323" => "127.0.0.1:6381", "2162841922" => "127.0.0.1:6381", "2173346807" => "127.0.0.1:6382", "2171411418" => "127.0.0.1:6382", "2151534559" => "127.0.0.1:6382" ); for ($i = 0; $i < count($arr1); $i++) { ksort($arr1[$i], SORT_NUMERIC); } echo "HI"; //var_dump($arr1);

Verbose script

This script was stopped because it was generating too much output