3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = NULL; ++$data['wok']; var_dump($data); $data = NULL; $data['wok'] = $data['wok'] + 1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IGYSm
function name:  (null)
number of ops:  12
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, null
          1        FETCH_DIM_RW                                     $2      !0, 'wok'
          2        PRE_INC                                                  $2
    3     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    4     6        ASSIGN                                                   !0, null
          7        FETCH_DIM_R                                      ~7      !0, 'wok'
          8        ADD                                              ~8      ~7, 1
          9        ASSIGN_DIM                                               !0, 'wok'
         10        OP_DATA                                                  ~8
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.56 ms | 1394 KiB | 15 Q