Experimenting with arrays and wondering why the following DOESN'T seem to print the values on SEPARATE lines when I run it?
<?php
$my_array = array("stuff1", "stuff2", "stuff3");
echo $my_array[0] . "\n";
echo $my_array[1] . "\n";
echo $my_array[2] . "\n";
?>
` is a literal element line break. But, if you have a wrapping context which is a whitespace context, `
` and `\n` (or `\r\n`) is probably not all that different. – Jared Farrish Aug 13 '12 at 01:43