The type of the values determines the output, it can be one of the following.
- boolean, becomes \c true or \c false
- null, becomes \c null
- string, adds \ (backslash) to backslashes, double quotes, dollar signs and newlines.
Then wraps the whole string in " (double quotes).
- numeric, displays the value as-is.
- array, expands all value recursively using this function
- object, creates a representation of an object creation if the object has \c serializeData implemented.
static public varExport ( $value ) |