3v4l.org

run code in 300+ PHP versions simultaneously
<?php class XYZ {} var_dump(class_exists('xyz'), xyz::class, XyZ::class, get_class(xyz));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KlGIk
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'class_exists'
          2        SEND_VAL                                                 'xyz'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        SEND_VAL                                                 'xyz'
          6        SEND_VAL                                                 'XyZ'
          7        FETCH_CONSTANT                                   ~1      'xyz'
          8        GET_CLASS                                        ~2      ~1
          9        SEND_VAL                                                 ~2
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Class XYZ: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.54 ms | 1394 KiB | 17 Q