<?php class Foo { public $prop; public function __wakeup() { echo __METHOD__ . " is running.\n"; } public function quux() { echo __METHOD__ . " is running.\n"; } } Class Bar { public $a; public function __destruct() { $this->a->quux(); } } unserialize('O:3:"Bar":1:{s:1:"a";O:3:"Foo":2:{s:4:"prop";s:3:"baz";}}');
You have javascript disabled. You will not be able to edit any code.