3v4l.org

run code in 500+ PHP versions simultaneously
<?php class MyClass {} interface MyInterface {} trait MyTrait {} enum MyEnum {} var_dump(get_declared_classes()); var_dump(get_declared_interfaces()); var_dump(get_declared_traits());

Abusive script

This script was stopped while abusing our resources

Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0ub6I
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    9     0  E >   DECLARE_CLASS                                                'myenum'
   11     1        INIT_FCALL                                                   'var_dump'
          2        INIT_FCALL                                                   'get_declared_classes'
          3        DO_ICALL                                             $0      
          4        SEND_VAR                                                     $0
          5        DO_ICALL                                                     
   12     6        INIT_FCALL                                                   'var_dump'
          7        INIT_FCALL                                                   'get_declared_interfaces'
          8        DO_ICALL                                             $2      
          9        SEND_VAR                                                     $2
         10        DO_ICALL                                                     
   13    11        INIT_FCALL                                                   'var_dump'
         12        INIT_FCALL                                                   'get_declared_traits'
         13        DO_ICALL                                             $4      
         14        SEND_VAR                                                     $4
         15        DO_ICALL                                                     
         16      > RETURN                                                       1

Class MyClass: [no user functions]
Class MyInterface: [no user functions]
Class MyTrait: [no user functions]
Class MyEnum: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
169.44 ms | 2831 KiB | 17 Q