3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = ' \leftarrow \longleftarrow \uparrow \Leftarrow \Longleftarrow \Uparrow \rightarrow \longrightarrow \downarrow \Rightarrow \Longrightarrow \Downarrow \leftrightarrow \longleftrightarrow \updownarrow \Leftrightarrow \Longleftrightarrow \Updownarrow \mapsto \longmapsto \nearrow \hookleftarrow \hookrightarrow \searrow \leftharpoonup \rightharpoonup \swarrow \leftharpoondown \rightharpoondown \nwarrow \rightleftharpoons \leadsto$^b$ '; $x = array_filter(preg_split('/\s+/', $x)); sort($x); foreach ($x as $xx) { var_export($xx);echo ",\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 19
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 19
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/GMPpF
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+%5Cleftarrow+++++++++++++++++++%5Clongleftarrow++++++++++++++%5Cuparrow++++++%0A+%5CLeftarrow+++++++++++++++++++%5CLongleftarrow++++++++++++++%5CUparrow++++++%0A+%5Crightarrow++++++++++++++++++%5Clongrightarrow+++++++++++++%5Cdownarrow++++%0A+%5CRightarrow++++++++++++++++++%5CLongrightarrow+++++++++++++%5CDownarrow++++%0A+%5Cleftrightarrow++++++++++++++%5Clongleftrightarrow+++++++++%5Cupdownarrow++%0A+%5CLeftrightarrow++++++++++++++%5CLongleftrightarrow+++++++++%5CUpdownarrow++%0A+%5Cmapsto++++++++++++++++++++++%5Clongmapsto+++++++++++++++++%5Cnearrow++++++%0A+%5Chookleftarrow+++++++++++++++%5Chookrightarrow+++++++++++++%5Csearrow++++++%0A+%5Cleftharpoonup+++++++++++++++%5Crightharpoonup+++++++++++++%5Cswarrow++++++%0A+%5Cleftharpoondown+++++++++++++%5Crightharpoondown+++++++++++%5Cnwarrow++++++%0A+%5Crightleftharpoons+++++++++++%5Cleadsto%24%5Eb%24%0A'
   17     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
   18     9        INIT_FCALL                                               'sort'
         10        SEND_REF                                                 !0
         11        DO_ICALL                                                 
   19    12      > FE_RESET_R                                       $7      !0, ->19
         13    > > FE_FETCH_R                                               $7, !1, ->19
   20    14    >   INIT_FCALL                                               'var_export'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                                 
         17        ECHO                                                     '%2C%0A'
   19    18      > JMP                                                      ->13
         19    >   FE_FREE                                                  $7
   21    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.17 ms | 1388 KiB | 21 Q