I am genuinely surprised that #PHP actually rejects invalid types during de-seri...

@Girgias@phpc.social

I am genuinely surprised that #PHP actually rejects invalid types during de-serialization for typed properties *even* if they are coercible, kinda goes against my intuition about engine behaviour. Cannot complain however, it eliminates bugs by rejecting dodgy payloads and simplifies the implementation. :)

See 3v4l.org/B71tR#v