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/L2sY6
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'interface_exists'
          1        FETCH_CONSTANT                                   ~0      'SomeThing'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                         $1      
          4        CONCAT                                           ~2      'Itnerface+exists', $1
          5        ECHO                                                     ~2
    8     6        INIT_FCALL                                               'class_exists'
          7        FETCH_CONSTANT                                   ~3      'SomeThing'
          8        SEND_VAL                                                 ~3
          9        DO_ICALL                                         $4      
         10        CONCAT                                           ~5      'class+exists', $4
         11        ECHO                                                     ~5
         12      > RETURN                                                   1

Class SomeThing: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.54 ms | 1385 KiB | 17 Q