3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 31, Position 2 = 39
Branch analysis from position: 31
2 jumps found. (Code = 78) Position 1 = 32, Position 2 = 39
Branch analysis from position: 32
1 jumps found. (Code = 42) Position 1 = 31
Branch analysis from position: 31
Branch analysis from position: 39
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 39
filename:       /in/TkB6a
function name:  (null)
number of ops:  44
compiled vars:  !0 = $arr1, !1 = $arr2, !2 = $result, !3 = $_, !4 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   11     1        ASSIGN                                                   !1, <array>
   27     2        INIT_FCALL                                               'var_export'
   28     3        INIT_FCALL                                               'array_replace'
          4        INIT_FCALL                                               'array_map'
          5        DECLARE_LAMBDA_FUNCTION                          ~7      [0]
          6        SEND_VAL                                                 ~7
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $8      
          9        SEND_VAR                                                 $8
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $9      
         12        SEND_VAR                                                 $9
   27    13        DO_ICALL                                                 
   31    14        ECHO                                                     '%0A---%0A'
   33    15        INIT_FCALL                                               'var_export'
   34    16        INIT_FCALL                                               'array_reduce'
   35    17        INIT_FCALL                                               'array_keys'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                         $11     
         20        SEND_VAR                                                 $11
   36    21        DECLARE_LAMBDA_FUNCTION                          ~12     [1]
         22        BIND_LEXICAL                                             ~12, !0
         23        SEND_VAL                                                 ~12
   37    24        SEND_VAL                                                 <array>
   34    25        DO_ICALL                                         $13     
   37    26        SEND_VAR                                                 $13
   33    27        DO_ICALL                                                 
   41    28        ECHO                                                     '%0A---%0A'
   43    29        ASSIGN                                                   !2, <array>
   44    30      > FE_RESET_R                                       $16     !1, ->39
         31    > > FE_FETCH_R                                       ~17     $16, !3, ->39
         32    >   ASSIGN                                                   !4, ~17
   45    33        FETCH_DIM_IS                                     ~20     !0, !4
         34        COALESCE                                         ~21     ~20
         35        QM_ASSIGN                                        ~21     null
         36        ASSIGN_DIM                                               !2, !4
         37        OP_DATA                                                  ~21
   44    38      > JMP                                                      ->31
         39    >   FE_FREE                                                  $16
   47    40        INIT_FCALL                                               'var_export'
         41        SEND_VAR                                                 !2
         42        DO_ICALL                                                 
         43      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TkB6a
function name:  {closure}
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   28     0  E > > RETURN                                                   null
          1*     > RETURN                                                   null

End of Dynamic Function 0

Dynamic Function 1
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TkB6a
function name:  {closure}
number of ops:  10
compiled vars:  !0 = $result, !1 = $k, !2 = $arr1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   36     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        BIND_STATIC                                              !2
          3        FETCH_DIM_IS                                     ~3      !2, !1
          4        COALESCE                                         ~4      ~3
          5        QM_ASSIGN                                        ~4      null
          6        INIT_ARRAY                                       ~5      ~4, !1
          7        ADD                                              ~6      !0, ~5
          8      > RETURN                                                   ~6
          9*     > RETURN                                                   null

End of Dynamic Function 1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.97 ms | 976 KiB | 18 Q