3v4l.org

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

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.78 ms | 1601 KiB | 14 Q