br() function breaks a line both within cli and on web pages. When
working on cli, the br() automatically converts to PHP_EOL
while outside cli the break tag <br> is used.
br($value, $breaks); $value: string $breaks: number of breaks after
echo "Break after this". br('A new line');
//html result:
Break after this <br> A new line
//cli result:
'Break after this'. PHP_EOL . 'A new line'
echo "Break after this". br('A new line', 2);
//html result:
Break after this <br><br> A new line
//cli result:
'Break after this'. PHP_EOL.PHP_EOL . 'A new line'