$value =
new MyWakeup();
$value->bis =
new \
ReflectionClass($value);
yield ['wakeup-refl',
$value];
yield ['abstract-parent',
new ConcreteClass()];
yield ['private-constructor', PrivateConstructor::
create('bar'
)];
yield ['php74-serializable',
new Php74Serializable()];
yield ['__unserialize-but-no-__serialize',
new __UnserializeButNo__Serialize()];
yield ['__serialize-but-no-__unserialize',
new __SerializeButNo__Unserialize()];
yield ['unit-enum',
[FooUnitEnum::Bar
], true
];
yield ['readonly',
new FooReadonly('k', 'v'
)];
} public function testUnicodeDirectionality() { $this->
assertSame('"\0\r\u{202A}\u{202B}\u{202D}\u{202E}\u{2066}\u{2067}\u{2068}\u{202C}\u{2069}\n"', VarExporter::
export("\0\r\u{202A}\u{202B}\u{202D}\u{202E}\u{2066}\u{2067}\u{2068}\u{202C}\u{2069}\n"
));
}}