3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = unserialize('O:14:"BogusTestClass":0:{}'); var_dump(is_object($a)); var_dump($a instanceof \__PHP_Incomplete_Class);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/d48Vj
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'unserialize'
          1        SEND_VAL                                                 'O%3A14%3A%22BogusTestClass%22%3A0%3A%7B%7D'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    3     4        INIT_FCALL                                               'var_dump'
          5        TYPE_CHECK                                  256  ~3      !0
          6        SEND_VAL                                                 ~3
          7        DO_ICALL                                                 
    4     8        INIT_FCALL                                               'var_dump'
          9        INSTANCEOF                                       ~5      !0, '__PHP_Incomplete_Class'
         10        SEND_VAL                                                 ~5
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.31 ms | 1394 KiB | 17 Q