3v4l.org

run code in 500+ PHP versions simultaneously
<?php $vuong = [1, 2, 3]; unset($vuong[2]); array_push($vuong, 3); print_r($vuong);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7C3Nf
function name:  (null)
number of ops:  10
compiled vars:  !0 = $vuong
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    5     1        UNSET_DIM                                                    !0, 2
    7     2        INIT_FCALL                                                   'array_push'
          3        SEND_REF                                                     !0
          4        SEND_VAL                                                     3
          5        DO_ICALL                                                     
    9     6        INIT_FCALL                                                   'print_r'
          7        SEND_VAR                                                     !0
          8        DO_ICALL                                                     
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
224.96 ms | 2285 KiB | 15 Q