3v4l.org

run code in 300+ PHP versions simultaneously
<?php const A = [1, 2, 3]; var_dump(A); array_push(A, 4); var_dump(A);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kucGt
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CONST                                            'A', <array>
    4     1        INIT_FCALL                                               'var_dump'
          2        FETCH_CONSTANT                                   ~0      'A'
          3        SEND_VAL                                                 ~0
          4        DO_ICALL                                                 
    5     5        INIT_FCALL                                               'array_push'
          6        FETCH_CONSTANT                                   ~2      'A'
          7        SEND_VAL_EX                                              ~2
          8        SEND_VAL                                                 4
          9        DO_ICALL                                                 
    6    10        INIT_FCALL                                               'var_dump'
         11        FETCH_CONSTANT                                   ~4      'A'
         12        SEND_VAL                                                 ~4
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.43 ms | 1394 KiB | 17 Q