3v4l.org

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

Class E: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
168.54 ms | 1482 KiB | 13 Q