3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 2; $b= 3; $c = 56; $v = array($a, $b,$c); print_r($v); unset($v[0]); print_r($v);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/si3ub
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 2
    3     1        ASSIGN                                                   !1, 3
    4     2        ASSIGN                                                   !2, 56
    5     3        INIT_ARRAY                                       ~7      !0
          4        ADD_ARRAY_ELEMENT                                ~7      !1
          5        ADD_ARRAY_ELEMENT                                ~7      !2
          6        ASSIGN                                                   !3, ~7
    6     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !3
          9        DO_ICALL                                                 
    7    10        UNSET_DIM                                                !3, 0
    8    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !3
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.77 ms | 1394 KiB | 15 Q