Can I override the PHP built-in function echo()?

gk77

New Member
I recently looked at my source code and it was a real mess.my php source:\[code\]echo '<h1>Rar<h1>';echo '<span>Rar</span>';echo '<p>Rar</p>';\[/code\]and when I view the browser source for the page rendered:\[code\]<h1>Rar</h1><span>Rar</span><p>Rar</p>\[/code\]is there a way for me to override echo so that every output would end with a newline, something like\[code\]function echo($string){ echo $string . "\r\n";}\[/code\]
 
Top