3v4l.org

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

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.42 ms | 1394 KiB | 15 Q