Here, you will get a chance to get introduce to PHP Strings.
Creation of PHP String
It is necessary to form a string before using it. You can make use of string either in function or save in variable. Here are the examples, where you can get to know about two ways of using a string.
Code of PHP:

Within the first code, string gets save in $my_string whereas in second code, it gets its utilization in echo. If you desire to exercise the string for many times then save the string inside variables. Here is the result of the above statements.
Display:

Reminder:
Backslash helps you to use apostrophe with different words. If we have to show result on web page, then such fled characters can not help us. The reason is that the HTML does not give importance to extra space. If the content is written for a man, then he can understand it with the use of space.
How to make heredoc in PHP String
In the above examples, we have learnt the methods of making strings. Here is a new and modern method for the designing of a string. It is known as heredoc. In this method, a developer can make a long program without any quotation mark. But it can give you a lot of trouble if you can not use the code effectively.

Reminder:
1- You have to use <<< and some kind of identifier for starting heredoc. Here, we have used the word Test for identification.
2- If you would like to close the heredoc string then use the identifier and semicolon.
3- The ending line should not be shifted. Let it come on the next line by itself.
When we check the code on the web page, the result will come in one line. The reason is that we have not used for a break. The result will come like this:
Exhibit

New Moon suppliers.com show your abilities!

It is recommended to check the heredoc codes again and again. Otherwise, you will feel trouble.