abdfahim Posted December 13, 2007 Share Posted December 13, 2007 Is there any way that I can check the type of a variable read from a file? I mean I need to read a file, the cell of the file may contain a number or a string. How can I distinguish them? Quote Link to comment Share on other sites More sharing options...
~n[EO]n~ Posted December 13, 2007 Share Posted December 13, 2007 var_dump -- Dumps information about a variable http://php.net/var_dump Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.