3v4l.org

run code in 300+ PHP versions simultaneously
<?php use \This\Namespase\Does\Not\Exists\FooBar; var_dump( FooBar::class, // use ::class \class_exists(FooBar::class), // check class existence with autoload \class_exists(FooBar::class, false) // check class existence without autoload );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kEpZH
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'var_dump'
    6     1        SEND_VAL                                                 'This%5CNamespase%5CDoes%5CNot%5CExists%5CFooBar'
    7     2        INIT_FCALL                                               'class_exists'
          3        SEND_VAL                                                 'This%5CNamespase%5CDoes%5CNot%5CExists%5CFooBar'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
    8     6        INIT_FCALL                                               'class_exists'
          7        SEND_VAL                                                 'This%5CNamespase%5CDoes%5CNot%5CExists%5CFooBar'
          8        SEND_VAL                                                 <false>
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
    5    11        DO_ICALL                                                 
    9    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.43 ms | 1426 KiB | 15 Q