3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo extends Countable {} var_dump((new ReflectionClass(Foo::class))->getInterfaces());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EjJbY
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CLASS                                            'foo'
    5     1        INIT_FCALL                                               'var_dump'
          2        NEW                                              $0      'ReflectionClass'
          3        SEND_VAL_EX                                              'Foo'
          4        DO_FCALL                                      0          
          5        INIT_METHOD_CALL                                         $0, 'getInterfaces'
          6        DO_FCALL                                      0  $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.86 ms | 1397 KiB | 16 Q