3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pages = [ 'a2' => ['title' => '.a'], 'a1' => ['title' => 'A'], 'c1' => ['title' => 'C'], 'c2' => ['title' => 'C100'], 'c3' => ['title' => 'C3'], 'c4' => ['title' => 'c22'], 'b' => ['title' => 'B'], 'c25' => ['title' => 'c'], 'n' => ['title' => '.N'], ]; $titles = array_column($pages, 'title'); array_multisort( preg_replace('/^[^0-9a-z]+/i', '', $titles), SORT_STRING|SORT_FLAG_CASE, $titles ); echo implode(', ', $titles);
Output for git.master, git.master_jit, rfc.property-hooks
.a, A, B, C, c, C100, c22, C3, .N

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:
108.41 ms | 405 KiB | 5 Q