3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(class_exists('Error')); var_dump(!is_subclass_of('Error', 'Exception')); var_dump(new \Error());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bGn4L
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'class_exists'
          2        SEND_VAL                                                 'Error'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'is_subclass_of'
          8        SEND_VAL                                                 'Error'
          9        SEND_VAL                                                 'Exception'
         10        DO_ICALL                                         $2      
         11        BOOL_NOT                                         ~3      $2
         12        SEND_VAL                                                 ~3
         13        DO_ICALL                                                 
    5    14        INIT_FCALL                                               'var_dump'
         15        NEW                                              $5      'Error'
         16        DO_FCALL                                      0          
         17        SEND_VAR                                                 $5
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.23 ms | 1394 KiB | 19 Q