3v4l.org

run code in 300+ PHP versions simultaneously
<?php Class SomeThing{} echo "Itnerface exists".interface_exists('SomeThing')."\n"; echo "class exists".class_exists('SomeThing')."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZVNu4
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        SEND_VAL                                                 'SomeThing'
          2        DO_ICALL                                         $0      
          3        CONCAT                                           ~1      'Itnerface+exists', $0
          4        CONCAT                                           ~2      ~1, '%0A'
          5        ECHO                                                     ~2
    8     6        INIT_FCALL                                               'class_exists'
          7        SEND_VAL                                                 'SomeThing'
          8        DO_ICALL                                         $3      
          9        CONCAT                                           ~4      'class+exists', $3
         10        CONCAT                                           ~5      ~4, '%0A'
         11        ECHO                                                     ~5
         12      > RETURN                                                   1

Class SomeThing: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.99 ms | 1394 KiB | 17 Q