3v4l.org

run code in 300+ PHP versions simultaneously
<?php class x { const array = []; const int = 2; } print_r(x::array); echo x::int; echo x::class; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fiaHc
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'print_r'
          1        SEND_VAL                                                 <array>
          2        DO_ICALL                                                 
    9     3        ECHO                                                     2
   10     4        ECHO                                                     'x'
   12     5      > RETURN                                                   1

Class x: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.31 ms | 999 KiB | 14 Q