var_dump() Function in PHP:

To get the data type of a variable in PHP you have a function β€œvar_dump()”. The var_dump() function is used to get structured information (means the type of variable and the value of variable ) about one or more variables.

Example:

 

Leave a Reply

Your email address will not be published. Required fields are marked *