Indents every line of a text by the given amount of characters
<?php
indent(string $value, [ int $by = 4, [ string $char = ' ' ]])
Example #1
baseline
{indent "foo bar baz
qux and then what was it
again? quux quuux and so on I think"}
The above example will output:
baseline
foo bar baz
qux and then what was it
again? quux quuux and so on I think