3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [1]; if(array_shift(@$array));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/oUh4D
function name:  (null)
number of ops:  9
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
          1        INIT_FCALL                                               'array_shift'
          2        BEGIN_SILENCE                                    ~2      
          3        FETCH_R                      local               ~3      'array'
          4        END_SILENCE                                              ~2
          5        SEND_VAL_EX                                              ~3
          6        DO_ICALL                                         $4      
          7      > JMPZ                                                     $4, ->8
          8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.07 ms | 1394 KiB | 15 Q