3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.36 ms | 1394 KiB | 17 Q