3v4l.org

run code in 500+ PHP versions simultaneously
<?php class UserEvent { protected const CREATED = 'created'; protected const CONFIRMED = 'confirmed'; protected const UPDATED = 'updated'; public const EVENTS_LIST = [ self::CREATED, self::CONFIRMED, self::UPDATED, ]; } print_r(UserEvent::EVENTS_LIST);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lOC2h
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   16     0  E >   INIT_FCALL                                                   'print_r'
          1        SEND_VAL                                                     <array>
          2        DO_ICALL                                                     
          3      > RETURN                                                       1

Class UserEvent: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.21 ms | 1994 KiB | 14 Q