3v4l.org

run code in 300+ PHP versions simultaneously
<?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); } */ var_dump($arr1);
Output for git.master, git.master_jit, rfc.property-hooks
array(9) { [2179454040]=> string(14) "127.0.0.1:6379" [2159827012]=> string(14) "127.0.0.1:6380" [2171050562]=> string(14) "127.0.0.1:6380" [2153052555]=> string(14) "127.0.0.1:6381" [2171236323]=> string(14) "127.0.0.1:6381" [2162841922]=> string(14) "127.0.0.1:6381" [2173346807]=> string(14) "127.0.0.1:6382" [2171411418]=> string(14) "127.0.0.1:6382" [2151534559]=> string(14) "127.0.0.1:6382" }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
59.95 ms | 402 KiB | 8 Q