$rt =
new \
ReflectionProperty(\Error::
class, 'trace'
);
$rt->
setValue($value,
['file' => __FILE__, 'line' => 123
]);
$rl =
new \
ReflectionProperty(\Error::
class, 'line'
);
$rl->
setValue($value, 234
);
yield ['error',
$value];
yield ['var-on-sleep',
new GoodNight()];
$value =
new FinalError(false
);
$rt->
setValue($value,
[]);
$rl->
setValue($value, 123
);
yield ['final-error',
$value];
yield ['final-array-iterator',
new FinalArrayIterator()];
yield ['final-stdclass',
new FinalStdClass()];
$value =
new MyWakeup();
$value->bis =
new \
ReflectionClass($value);