3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a="foo"; var_dump($a instanceof stdClass); var_dump("foo" instanceof stdClass); if (isset($offset)) { $context[$offset] = $value; } else { $context[] = $value; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 13
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gSoFI
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a, !1 = $offset, !2 = $context, !3 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'foo'
    3     1        INIT_FCALL                                               'var_dump'
          2        INSTANCEOF                                       ~5      !0, 'stdClass'
          3        SEND_VAL                                                 ~5
          4        DO_ICALL                                                 
    4     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAL                                                 <false>
          7        DO_ICALL                                                 
    7     8        ISSET_ISEMPTY_CV                                         !1
          9      > JMPZ                                                     ~8, ->13
    8    10    >   ASSIGN_DIM                                               !2, !1
         11        OP_DATA                                                  !3
         12      > JMP                                                      ->15
   11    13    >   ASSIGN_DIM                                               !2
         14        OP_DATA                                                  !3
   15    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.88 ms | 1394 KiB | 15 Q