3v4l.org

run code in 500+ PHP versions simultaneously
<?php enum State: string { case Paid = 'paid'; } echo State::Paid;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/flcm9
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CLASS                                                'state'
    7     1        FETCH_CLASS_CONSTANT                                 ~0      'State', 'Paid'
          2        ECHO                                                         ~0
    8     3      > RETURN                                                       1

Class State: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
186.39 ms | 1597 KiB | 13 Q