dump()
Simple object and variable dumper to help with debugging.
Parameters
Name | Type | Default |
---|---|---|
$variable * | mixed |
– |
$echo | bool |
true |
Return type
string
Example
If you want to return only the value, you can set the second parameter to false: