3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { function __construct() { echo 'Test'; } function __wakeup() { echo 'Wstan'; } } $a = new Test(); $b = serialize($a); //$c = unserialize($b);
based on 1XZql
Output for 5.3.20 - 7.2.0
Test