3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(-1 => 0); array_pop($array); array_push($array, 0); array_push($array, 0); var_dump($array); echo"\nDone"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BSUnB
function name:  (null)
number of ops:  17
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'array_pop'
          2        SEND_REF                                                 !0
          3        DO_ICALL                                                 
    7     4        INIT_FCALL                                               'array_push'
          5        SEND_REF                                                 !0
          6        SEND_VAL                                                 0
          7        DO_ICALL                                                 
    8     8        INIT_FCALL                                               'array_push'
          9        SEND_REF                                                 !0
         10        SEND_VAL                                                 0
         11        DO_ICALL                                                 
   10    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
   12    15        ECHO                                                     '%0ADone'
   13    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.23 ms | 1394 KiB | 19 Q