3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DumpR
function name:  (null)
number of ops:  14
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '89111213'
    5     1        INIT_FCALL                                               'var_export'
    6     2        INIT_FCALL                                               'array_reduce'
    7     3        INIT_FCALL                                               'str_split'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
    8     7        DECLARE_LAMBDA_FUNCTION                          ~3      [0]
   15     8        SEND_VAL                                                 ~3
   16     9        SEND_VAL                                                 <array>
    6    10        DO_ICALL                                         $4      
   16    11        SEND_VAR                                                 $4
    5    12        DO_ICALL                                                 
   18    13      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 15
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 22
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/DumpR
function name:  {closure}
number of ops:  26
compiled vars:  !0 = $result, !1 = $digit
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    9     2        COUNT                                            ~2      !0
          3        IS_SMALLER                                       ~3      1, ~2
          4      > JMPZ_EX                                          ~3      ~3, ->15
          5    >   INIT_FCALL                                               'strnatcmp'
          6        INIT_FCALL                                               'array_slice'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 -2
          9        DO_ICALL                                         $4      
         10        SEND_UNPACK                                              $4
         11        CHECK_UNDEF_ARGS                                         
         12        DO_ICALL                                         $5      
         13        IS_SMALLER                                       ~6      0, $5
         14        BOOL                                             ~3      ~6
         15    > > JMPZ                                                     ~3, ->22
   10    16    >   INIT_FCALL                                               'array_key_last'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $7      
         19        ASSIGN_DIM_OP                .=               8          !0, $7
         20        OP_DATA                                                  !1
    9    21      > JMP                                                      ->24
   12    22    >   ASSIGN_DIM                                               !0
         23        OP_DATA                                                  !1
   14    24    > > RETURN                                                   !0
   15    25*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.56 ms | 976 KiB | 19 Q