3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = ' \uparrow \Uparrow [ ] \downarrow \Downarrow \{ \} \updownarrow \Updownarrow \lfloor \rfloor \lceil \rceil \langle \rangle / \backslash | \| '; $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 h7a28
Output for 7.0.0 - 7.2.0
/ [ \backslash \downarrow \Downarrow \langle \lceil \lfloor \rangle \rceil \rfloor \uparrow \Uparrow \Updownarrow \updownarrow \{ \| \} ] |
Output for 5.3.21 - 5.6.28
/ [ \backslash \Downarrow \downarrow \langle \lceil \lfloor \rangle \rceil \rfloor \Uparrow \uparrow \Updownarrow \updownarrow \{ \| \} ] |