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? Link to comment https://forums.phpfreaks.com/topic/81478-solved-how-to-check-data-type/ 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 Link to comment https://forums.phpfreaks.com/topic/81478-solved-how-to-check-data-type/#findComment-413644 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.