3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface SomeThing{} echo "Itnerface exists".interface_exists('SomeThing'); echo "class exists".class_exists('SomeThing');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/p3f7K
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'interface_exists'
          1        SEND_VAL                                                 'SomeThing'
          2        DO_ICALL                                         $0      
          3        CONCAT                                           ~1      'Itnerface+exists', $0
          4        ECHO                                                     ~1
    8     5        INIT_FCALL                                               'class_exists'
          6        SEND_VAL                                                 'SomeThing'
          7        DO_ICALL                                         $2      
          8        CONCAT                                           ~3      'class+exists', $2
          9        ECHO                                                     ~3
         10      > RETURN                                                   1

Class SomeThing: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.34 ms | 1398 KiB | 17 Q