I want to check to see if a value in an array is an integer or a string (the array contains both)
The manual says:
Never use gettype() to test for a certain type, since the returned string may be subject to change in a future version. In addition, it is slow too, as it involves string comparision .
Instead, use the is_* functions.
I'm not familiar with the _* functions, can anyone enlighten me?
And what is the point of having gettype() if you're not supposed to use it?
ta
H