etsted Posted May 14, 2014 Share Posted May 14, 2014 (edited) I want to check the type of a variable but when i do this $test = "hi";$var = var_dump($test);or$var = print_r($test); It outputs the content, but i dont want that. Edited May 14, 2014 by etsted Link to comment Share on other sites More sharing options...
Ingolme Posted May 14, 2014 Share Posted May 14, 2014 There's the get_type() function Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now