3v4l.org

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

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.41 ms | 1394 KiB | 17 Q