r/lolphp • u/i_make_snow_flakes • Nov 15 '14
new safe casting function RFC. casting "-10" to string is valid but casting "+10" is not..
here the comment where one user asked the author of RFC about this. I am not able to follow his reasoning. What do you think?
24
Upvotes
View all comments
Show parent comment
5
u/i_make_snow_flakes Nov 15 '14
Ha ha, this is lolphp right here.
it does not matter how it is put in the source code of php. It is the exposed behavior, and the manual says so. Anyway I don't think I want to discuss things with someone who can't respond without down voting every one of my responses. It's not that I care about downvotes, but I find the behavior moronic. So good luck with the RFC.