3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c = new \stdClass(); if (!$c instanceof \stdClass) { echo 'Should never happen'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/NZIvA
function name:  (null)
number of ops:  8
compiled vars:  !0 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    5     3        INSTANCEOF                                       ~4      !0, 'stdClass'
          4        BOOL_NOT                                         ~5      ~4
          5      > JMPZ                                                     ~5, ->7
    6     6    >   ECHO                                                     'Should+never+happen'
    7     7    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.51 ms | 1392 KiB | 13 Q