3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface HumanInteface { } class Human implements HumanInterface { } class Dog { } echo is_a('Dog', 'HumanInteface');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/p4s7p
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   DECLARE_CLASS                                            'human'
   14     1        INIT_FCALL                                               'is_a'
          2        SEND_VAL                                                 'Dog'
          3        SEND_VAL                                                 'HumanInteface'
          4        DO_ICALL                                         $0      
          5        ECHO                                                     $0
          6      > RETURN                                                   1

Class HumanInteface: [no user functions]
Class Human: [no user functions]
Class Dog: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.98 ms | 1394 KiB | 15 Q