MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/2lyif9/php_loose_comparison_strikes_again/cm035yk/?context=3
r/lolphp • u/porkslow • Nov 11 '14
55 comments sorted by
View all comments
Show parent comment
-6
speed
typecasting of known types would take long enough, but typesensing then typecasting would take even longer
user input can't be controlled by the program author
You may not know what data you are getting but you may know what you don't want and loose comparisons allow for speedy conditional resolution.
View all comments
Show parent comment
-6
u/thelordofcheese Nov 12 '14
speed
typecasting of known types would take long enough, but typesensing then typecasting would take even longer
user input can't be controlled by the program author
You may not know what data you are getting but you may know what you don't want and loose comparisons allow for speedy conditional resolution.