3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hehehe = new __PHP_Incomplete_Class(); $hehehe->foo = 'bar'; $x = serialize($hehehe); var_dump(unserialize($x)); // Did I succeed?
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t5Io2
function name:  (null)
number of ops:  16
compiled vars:  !0 = $hehehe, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      '__PHP_Incomplete_Class'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    4     3        ASSIGN_OBJ                                               !0, 'foo'
          4        OP_DATA                                                  'bar'
    5     5        INIT_FCALL                                               'serialize'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !1, $6
    6     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'unserialize'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $8      
         13        SEND_VAR                                                 $8
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.71 ms | 1394 KiB | 19 Q