What is the difference between \t and \n in PHP?

In PHP, \t represents a tab character, which is used to create horizontal spacing in strings. On the other hand, \n represents a newline character, which is used to start a new line in the output. To use \t to create a tab in a string:

echo "First Name:\tJohn";
```

To use \n to start a new line in a string:
```php
echo "First Name: John\nLast Name: Doe";