3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.31 ms | 1394 KiB | 19 Q