3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class evilClass { public $var; function __wakeup() { unset($this->var); // $this->var = 'ryat'; } } $data = unserialize('a:2:{i:0;O:9:"evilClass":1:{s:3:"var";a:1:{i:0;i:1;}}i:1;R:4;}');
Output for 5.3.17 - 7.2.0