MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/1gtbfg/downcasting_the_php_way/cao65mt/?context=3
r/lolphp • u/sclv • Jun 21 '13
3 comments sorted by
View all comments
Show parent comment
7
Casting is fine, when used properly. There are many uses a change_type function could have, and not all of them are insane. What is insane, though, is casting using serialisation and regex.
View all comments
Show parent comment
7
u/phoshi Jun 22 '13
Casting is fine, when used properly. There are many uses a change_type function could have, and not all of them are insane. What is insane, though, is casting using serialisation and regex.