3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stack = array("orange", "banana");array_push($stack, "apple", "raspberry");print_r($stack);?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2W5or
function name:  (null)
number of ops:  10
compiled vars:  !0 = $stack
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
          1        INIT_FCALL                                               'array_push'
          2        SEND_REF                                                 !0
          3        SEND_VAL                                                 'apple'
          4        SEND_VAL                                                 'raspberry'
          5        DO_ICALL                                                 
          6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.69 ms | 1385 KiB | 17 Q