z
Convert PHP array/object into a compact string of PHP array syntax.
z($value, $short = true);
Example:
content('.\state.php', '<?' . 'php return ' . z([
'foo' => 'bar',
'baz' => [1, 2, true]
]));
Helper functions.
z
Convert PHP array/object into a compact string of PHP array syntax.
z($value, $short = true);
Example:
content('.\state.php', '<?' . 'php return ' . z([
'foo' => 'bar',
'baz' => [1, 2, true]
]));