1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/Zend/tests/lazy_objects/oss_fuzz_71446.phpt
2025-10-06 10:30:27 +02:00

23 lines
285 B
PHP

--TEST--
oss-fuzz #71446
--FILE--
<?php
class C {
public mixed $a;
function __sleep() {
return['a'];
}
}
$reflector = new ReflectionClass(C::class);
$obj = $reflector->newLazyProxy(function() {
$c = new C;
return $c;
});
serialize($obj);
?>
--EXPECTF--