3v4l.org

run code in 300+ PHP versions simultaneously
<?php class B { } $b = new B(); var_dump( class_exists('X', false) && ($exception instanceof X));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/fNF9r
function name:  (null)
number of ops:  14
compiled vars:  !0 = $b, !1 = $exception
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   NEW                                              $2      'B'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    5     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'class_exists'
          5        SEND_VAL                                                 'X'
          6        SEND_VAL                                                 <false>
          7        DO_ICALL                                         $5      
          8      > JMPZ_EX                                          ~6      $5, ->11
          9    >   INSTANCEOF                                       ~7      !1, 'X'
         10        BOOL                                             ~6      ~7
         11    >   SEND_VAL                                                 ~6
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Class B: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.92 ms | 1394 KiB | 17 Q