Hi, thanks for your reply. Let me ask in this way, is there any difference in how the following two perform in correctness and speed?
If {$a eq 403}
If {$a eq "403"}
Does placing the number in quotes make a difference, if so then how? For example does if {$a eq "403"} perform in the same...
Hi, I have read that using == to compare numbers rather than eq is more efficient and uses less CPU cycles and the same that eq should be used to compare text rather than ==. I have seen in an example code from a coder to overcome this issue, rather than use == to compare the numbers, the coder...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.