3v4l.org

run code in 300+ PHP versions simultaneously
<?php class obj { var $prop; function __wakeup() { unset($this->prop); } } var_dump(unserialize('a:2:{i:0;O:3:"obj":1:{s:4:"prop";r:1;}i:1;r:3;}'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Oh5am
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'unserialize'
          2        SEND_VAL                                                 'a%3A2%3A%7Bi%3A0%3BO%3A3%3A%22obj%22%3A1%3A%7Bs%3A4%3A%22prop%22%3Br%3A1%3B%7Di%3A1%3Br%3A3%3B%7D'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Class obj:
Function __wakeup:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Oh5am
function name:  __wakeup
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   UNSET_OBJ                                                'prop'
    7     1      > RETURN                                                   null

End of function __wakeup

End of class obj.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.59 ms | 1394 KiB | 17 Q