PHP DAY 5-2 gettype()
2017-09-19
Source

Source

Output

Output

It is sometime important to understand what kind of data you are dealing with. This is specially useful when you are trying to verify user input.