3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach(get_declared_classes() as $class) { $ref = new ReflectionClass($class); var_dump($class, $ref->getFileName()); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 15
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 15
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/5NKHI
function name:  (null)
number of ops:  17
compiled vars:  !0 = $class, !1 = $ref
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'get_declared_classes'
          1        DO_ICALL                                         $2      
          2      > FE_RESET_R                                       $3      $2, ->15
          3    > > FE_FETCH_R                                               $3, !0, ->15
    4     4    >   NEW                                              $4      'ReflectionClass'
          5        SEND_VAR_EX                                              !0
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $4
    5     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        INIT_METHOD_CALL                                         !1, 'getFileName'
         11        DO_FCALL                                      0  $7      
         12        SEND_VAR                                                 $7
         13        DO_ICALL                                                 
    3    14      > JMP                                                      ->3
         15    >   FE_FREE                                                  $3
    6    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.06 ms | 1395 KiB | 17 Q