Docs

evf_print_r( mixed $expression, bool $return = false ): string|bool

Prints human-readable information about a variable.

Description

Some server environments blacklist some debugging functions. This function provides a safe way to turn an expression into a printable, readable form without calling blacklisted functions.

Parameters

$expressionmixedrequired
The expression to be printed.
$returnbooloptional
Set to true to return the human-readable string.

Default:false

Return

string|bool False if expression could not be printed. True if the expression was printed.
If $return is true, a string representation will be returned.

Changelog

VersionDescription
1.0.0Introduced.