3v4l.org

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

Class IA: [no user functions]
Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.73 ms | 1394 KiB | 17 Q