3v4l.org

run code in 300+ PHP versions simultaneously
<?php function iksort($a, $b) { return strcasecmp(strtolower($a), strtolower($b)); } $testArray = array('PW_PG3_COKE_A.jpg','2DAYSALEGATE_PG2.jpg','PWBY4_DELI-1.jpg','PW_PG2_COKE_A.jpg','2DAYSALEGATE_PG1.jpg','722_PG1.jpg'); uksort($testArray, 'iksort'); print_r($testArray);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => PW_PG3_COKE_A.jpg [1] => 2DAYSALEGATE_PG2.jpg [2] => PWBY4_DELI-1.jpg [3] => PW_PG2_COKE_A.jpg [4] => 2DAYSALEGATE_PG1.jpg [5] => 722_PG1.jpg )

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:
39.07 ms | 401 KiB | 8 Q