3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo\bar; class bat { } var_dump(get_declared_classes());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dPUiQ
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_NS_FCALL_BY_NAME                                    'foo%5Cbar%5Cvar_dump'
          1        INIT_NS_FCALL_BY_NAME                                    'foo%5Cbar%5Cget_declared_classes'
          2        DO_FCALL                                      0  $0      
          3        SEND_VAR_NO_REF_EX                                       $0
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Class foo\bar\bat: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.32 ms | 1398 KiB | 17 Q