3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Something { const PARENT = 'parent'; } enum MyEnum:string { case firstChild = Something::PARENT . '_child1'; case secondChild = Something::PARENT . '_child2'; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5A41I
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                                'myenum'
   12     1      > RETURN                                                       1

Class Something: [no user functions]
Class MyEnum: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.42 ms | 1549 KiB | 13 Q