3v4l.org

run code in 500+ PHP versions simultaneously
<?php $queue = array("orange", "banana"); array_unshift($queue, "apple", "raspberry"); print_r($queue);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WNJmR
function name:  (null)
number of ops:  10
compiled vars:  !0 = $queue
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, <array>
    3     1        INIT_FCALL                                                   'array_unshift'
          2        SEND_REF                                                     !0
          3        SEND_VAL                                                     'apple'
          4        SEND_VAL                                                     'raspberry'
          5        DO_ICALL                                                     
    4     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:
168.07 ms | 2586 KiB | 15 Q