public error ( string | array $error = null, mixed $options = ['nl' => 1] ) : integer | ||
$error | string | array | The string or an array of strings to write. |
$options | mixed | When passed an integer or boolean it is used as the number of of new lines, when passed a string it is interpreted as style to use otherwise when an array following options are available: - `'nl'` _integer|boolean_: number of new lines to add at the end. `false` to disable adding a newline. - `'style'` _string_: the style name to wrap around the output. |
Résultat | integer |