I am new to PHP. I need to output the following JavaScript with PHP. This is my code:
document.write(\'Hello world\');'; ?>