3v4l.org

run code in 300+ PHP versions simultaneously
<?php $this->prodObj['test'] = true; $this->prodObj['sample'] = 5; $this->test = array_merge($this->prodObj); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9WheM
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_THIS                                       $0      
          1        FETCH_OBJ_W                                      $1      $0, 'prodObj'
          2        ASSIGN_DIM                                               $1, 'test'
          3        OP_DATA                                                  <true>
    3     4        FETCH_THIS                                       $3      
          5        FETCH_OBJ_W                                      $4      $3, 'prodObj'
          6        ASSIGN_DIM                                               $4, 'sample'
          7        OP_DATA                                                  5
    4     8        FETCH_THIS                                       $6      
          9        INIT_FCALL                                               'array_merge'
         10        FETCH_THIS                                       $8      
         11        FETCH_OBJ_R                                      ~9      $8, 'prodObj'
         12        SEND_VAL                                                 ~9
         13        DO_ICALL                                         $10     
         14        ASSIGN_OBJ                                               $6, 'test'
         15        OP_DATA                                                  $10
    5    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.75 ms | 1394 KiB | 15 Q