in reply to Re^2: check if 2 values are equalin thread check if 2 values are equal
I think you can do away with the third condition of ($val1 == $val2).
Tricky one. I thought the same at first.
But think of 0 and 0.0 or 0E0 - all numerically equal, but not sting equal.
Same goes for 1.1 and 1.10 and of course, there's more to think about.
Fruit and Vegetables
Me, that's why I'm so cool
Logic (separated into Horror and Brilliance)
Results (272 votes). Check out past polls.