3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = ' \$ \_ \copyright \dag \ddag \dots \P \pounds \S \{ \} \# '; $x = array_filter(preg_split('/\s+/', $x)); usort($x, function ($a, $b) { return strcmp(strtolower($a), strtolower($b)); }); foreach ($x as $xx) { echo $xx, "\n"; }
based on FWsj2
Output for 5.3.21 - 7.2.0
\# \$ \_ \copyright \dag \ddag \dots \P \pounds \S \{ \}