1--TEST--
2oss-fuzz #71446
3--FILE--
4<?php
5
6class C {
7    public mixed $a;
8    function __sleep() {
9        return['a'];
10    }
11}
12
13$reflector = new ReflectionClass(C::class);
14
15$obj = $reflector->newLazyProxy(function() {
16    $c = new C;
17    return $c;
18});
19
20serialize($obj);
21?>
22--EXPECTF--
23