Comment 7 for bug 1999598

Revision history for this message
Matthew Ruffell (mruffell) wrote :

Hi Athos,

As mentioned in the merge request, the minimal testcase is the php testcase ext/standard/tests/serialize/sleep_uninitialized_typed_prop.phpt found in the patch itself, and when you build the package, it is executed and passes:

...
TEST 12251/13940 [ext/standard/tests/serialize/sleep_uninitialized_typed_prop.phpt]
PASS Referencing an uninitialized typed property in __sleep() should be skipped [ext/standard/tests/serialize/sleep_uninitialized_typed_prop.phpt]
...

I left the external testcase in the bug report since it is closer to what the customer sees on their systems during deployment, and the linked source repo has minimal additional dependencies and reproduces the problem nicely.