3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.85 ms | 2004 KiB | 9 Q