Question: Using PHP 5.6.2 on MAMP PRO and trying to echo this string of characters: 

```
echo " \" \n \r \t \\ \$ ";

```

The output that I get is: 

```
" \ $

```

So escape sequences such as \n \t \r are neglected. I don't know if there's something wrong with php.ini because it has been working fine before. 

I would really appreciate if anyone could help me to fix this.

Answer: 
Use single quotes for echo statement and double for \t or \n.

Something like that:

```
echo 'Your text' . "\t" .
     'Your text' . "\n" .
     'Your text at next line';

```
Try `PHP_EOL` constant when executing script in terminal. For web browsers `<br />` should be used