Closed iluuu1994 closed 1 year ago
Strict types does not affect concatenation, it only affects argument/return and types properties coercions.
Indeed, but that sentence makes it sound like this RFC will have no effect when strict_types
are enabled, which is not correct. Maybe it's just a miscommunication.
Well, I can drop it, but IIRC I didn't have this on the float to int, and people were asking for it's behaviour, but it could use maybe some better phrasing.
E.g. https://3v4l.org/oaRkv
String concatenation with bool is currently fine, even with
strict_types
. There are other cases too.