If I want to say
Hello
World
, would recommend to use '
(Apostrophe) or "
(Quotation mark)?
Example:
<?php
$apostrophe = 'Hello' . "\n" . 'World!';
$quotation_mark = "Hello\nWorld!";
$newline = 'Hello
World!';
echo (($apostrophe == $quotation_mark) && ($apostrophe == $newline));
Output: 1
(True)