3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(~0); var_dump(array() instanceof stdClass); $a = array(); var_dump($a instanceof stdClass); $b = 2.2; var_dump($b instanceof stdClass);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KILho
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $b
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        INIT_FCALL                                               'var_dump'
          4        SEND_VAL                                                 <false>
          5        DO_ICALL                                                 
    4     6        ASSIGN                                                   !0, <array>
    5     7        INIT_FCALL                                               'var_dump'
          8        INSTANCEOF                                       ~5      !0, 'stdClass'
          9        SEND_VAL                                                 ~5
         10        DO_ICALL                                                 
    6    11        ASSIGN                                                   !1, 2.2
    7    12        INIT_FCALL                                               'var_dump'
         13        INSTANCEOF                                       ~8      !1, 'stdClass'
         14        SEND_VAL                                                 ~8
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.73 ms | 1386 KiB | 17 Q