3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Bar {} interface Qux extends Bar {} class Foo implements Qux{} $reflection = new ReflectionClass(new Foo); Reflection::export($reflection);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XUBRR
function name:  (null)
number of ops:  12
compiled vars:  !0 = $reflection
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   DECLARE_CLASS                                            'qux'
    7     1        DECLARE_CLASS                                            'foo'
    9     2        NEW                                              $1      'ReflectionClass'
          3        NEW                                              $2      'Foo'
          4        DO_FCALL                                      0          
          5        SEND_VAR_NO_REF_EX                                       $2
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !0, $1
   11     8        INIT_STATIC_METHOD_CALL                                  'Reflection', 'export'
          9        SEND_VAR_EX                                              !0
         10        DO_FCALL                                      0          
         11      > RETURN                                                   1

Class Bar: [no user functions]
Class Qux: [no user functions]
Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.72 ms | 1393 KiB | 13 Q