You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression: Private fields in serialized DateTimeImmutable objects throw #10747
<?phpclass I extends DateTimeImmutable { private$var = 1; }
unserialize(serialize(newI));
Resulted in this output:
Fatal error: Uncaught Error: Cannot access property starting with "\0" in Standard input code:4
Stack trace:
#0 [internal function]: DateTimeImmutable->__unserialize(Array)
#1 Standard input code(4): unserialize('O:1:"I":4:{s:4:...')
#2 {main}
thrown in Standard input code on line 4
Activity
Fix GH-10747: Private and protected properties in serialized Date* ob…