- Output for 7.4.0 - 7.4.33, 8.0.1 - 8.0.30, 8.1.0 - 8.1.26, 8.2.0 - 8.2.13, 8.3.0
- Warning: Class C has no unserializer in /in/WHBN2 on line 8 object(C)#1 (0) { }
<?php
class C {
public function __serialize() { return []; }
public function __unserialize(array $data) {}
}
var_dump(unserialize('C:1:"C":6:{a:0:{}}'));