var_export()
function var_export(mixed $value, bool $return = false): mixed
Renders a value as parsable PHP code, printed or returned.
Parameters:
$value(mixed)$return(bool), defaultfalse, optional
Returns: mixed
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Not available yet |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how var_export is implemented in the compiler, see the internals page.