Type casting & arrays
zakirullin opened this issue · 2 comments
zakirullin commented
With all that goodies documented, we still have a topic to think about.
Type casting in PHP is horrible and hard (means prone to errors). You shouldn't use that in 2020.
Especially when dealing with requests/responses/configs/arrays and other raw data.
Untyped array is a problem also (with all those issets() nearby).
We came to an easy solution like this
You think the problem is worth describing?
zakirullin commented
@codeguy Hi there! Care to see the PR?
matthewtrask commented
@zakirullin yes please :)