Generate a string representation of arbitrary data.
public static toString ( string $value, array $options = [] ) : string | ||
$value | string | The data to dump in string. |
$options | array | Available options are: - `'quote'` : dump will quote string data if true (default `true`). - `'object'`: dump options for objects. - `'method'`: default method to call on string instance (default `__toString`). - `'array'` : dump options for arrays. - `'indent'`: level of indent (defaults to `1`). - `'char'`: indentation character. - `'multiplier'`: number of indentation character per indent (default `4`) |
return | string | The dumped string. |