3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Test\David; interface Bar {}; class Foo implements Bar {}; var_dump(class_implements(''));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Xetok
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   DECLARE_CLASS                                            'test%5Cdavid%5Cfoo'
    8     1        INIT_NS_FCALL_BY_NAME                                    'Test%5CDavid%5Cvar_dump'
          2        INIT_NS_FCALL_BY_NAME                                    'Test%5CDavid%5Cclass_implements'
          3        SEND_VAL_EX                                              ''
          4        DO_FCALL                                      0  $0      
          5        SEND_VAR_NO_REF_EX                                       $0
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Class Test\David\Bar: [no user functions]
Class Test\David\Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.43 ms | 1394 KiB | 17 Q