3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = ' \Downarrow \Leftarrow \Leftrightarrow \Longleftarrow \Longleftrightarrow \Longrightarrow \Rightarrow \Uparrow \Updownarrow \downarrow \hookleftarrow \hookrightarrow \leftarrow \leftharpoondown \leftharpoonup \leftrightarrow \longleftarrow \longleftrightarrow \longmapsto \longrightarrow \mapsto \nearrow \nwarrow \rightarrow \rightharpoondown \rightharpoonup \rightleftharpoons \searrow \swarrow \uparrow \updownarrow '; $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"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 15, Position 2 = 19
Branch analysis from position: 15
2 jumps found. (Code = 78) Position 1 = 16, Position 2 = 19
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/eiMHn
function name:  (null)
number of ops:  21
compiled vars:  !0 = $x, !1 = $xx
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '+%0A%5CDownarrow%0A%5CLeftarrow%0A%5CLeftrightarrow%0A%5CLongleftarrow%0A%5CLongleftrightarrow%0A%5CLongrightarrow%0A%5CRightarrow%0A%5CUparrow%0A%5CUpdownarrow%0A%5Cdownarrow%0A%5Chookleftarrow%0A%5Chookrightarrow%0A%5Cleftarrow%0A%5Cleftharpoondown%0A%5Cleftharpoonup%0A%5Cleftrightarrow%0A%5Clongleftarrow%0A%5Clongleftrightarrow%0A%5Clongmapsto%0A%5Clongrightarrow%0A%5Cmapsto%0A%5Cnearrow%0A%5Cnwarrow%0A%5Crightarrow%0A%5Crightharpoondown%0A%5Crightharpoonup%0A%5Crightleftharpoons%0A%5Csearrow%0A%5Cswarrow%0A%5Cuparrow%0A%5Cupdownarrow%0A%0A%0A'
   39     1        INIT_FCALL                                               'array_filter'
          2        INIT_FCALL                                               'preg_split'
          3        SEND_VAL                                                 '%2F%5Cs%2B%2F'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !0, $4
   40     9        INIT_FCALL                                               'usort'
         10        SEND_REF                                                 !0
         11        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FeiMHn%3A40%240'
   42    12        SEND_VAL                                                 ~6
         13        DO_ICALL                                                 
   43    14      > FE_RESET_R                                       $8      !0, ->19
         15    > > FE_FETCH_R                                               $8, !1, ->19
   44    16    >   ECHO                                                     !1
         17        ECHO                                                     '%0A'
   43    18      > JMP                                                      ->15
         19    >   FE_FREE                                                  $8
   45    20      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FeiMHn%3A40%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eiMHn
function name:  {closure}
number of ops:  14
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   40     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   41     2        INIT_FCALL                                               'strcmp'
          3        INIT_FCALL                                               'strtolower'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        INIT_FCALL                                               'strtolower'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        DO_ICALL                                         $4      
         12      > RETURN                                                   $4
   42    13*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FeiMHn%3A40%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.47 ms | 1400 KiB | 23 Q