3v4l.org

run code in 300+ PHP versions simultaneously
<?php $field = ['uid' => $user_id, 'time' =>$time,'content'=>$this->content,'auto'=>"0"]; array_push($field,['pic_url'=>$new_name]); var_dump($field); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uE2Gm
function name:  (null)
number of ops:  16
compiled vars:  !0 = $field, !1 = $user_id, !2 = $time, !3 = $new_name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_ARRAY                                       ~4      !1, 'uid'
          1        ADD_ARRAY_ELEMENT                                ~4      !2, 'time'
          2        FETCH_THIS                                       $5      
          3        FETCH_OBJ_R                                      ~6      $5, 'content'
          4        ADD_ARRAY_ELEMENT                                ~4      ~6, 'content'
          5        ADD_ARRAY_ELEMENT                                ~4      '0', 'auto'
          6        ASSIGN                                                   !0, ~4
    5     7        INIT_FCALL                                               'array_push'
          8        SEND_REF                                                 !0
          9        INIT_ARRAY                                       ~8      !3, 'pic_url'
         10        SEND_VAL                                                 ~8
         11        DO_ICALL                                                 
    7    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
    9    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.84 ms | 1394 KiB | 17 Q