var_export

Example

 mixed var_export ( mixed $expression [, bool $return = false ] ) 

Description

var_export() gets structured information about the given variable. It is similar to var_dump() with one exception: the returned representation is valid PHP code.

Return Values

Returns the variable representation when the return parameter is used and evaluates to TRUE. Otherwise, this function will return NULL.