Apprendre PHP (6/19) - Les chaînes de caractères

To declare strings in PHP, in addition to the conventional methods of defining them between single or double quotes, there is a very convenient syntax called "heredoc syntax". PHP has a considerable number of functions that allow you to manipulate strings, such as strlen(), substr(), or htmlentities(). You can also define dynamic variables using strings.