I remember once reading that there is an alternative "" that looks like this:
$a = <<READ text jkdsdklvdkl READ; But this option does not work, remind how it is correct, please.
I remember once reading that there is an alternative "" that looks like this:
$a = <<READ text jkdsdklvdkl READ; But this option does not work, remind how it is correct, please.
This is heredoc, there should be 3 "<", instead of HEREDOC, you can write anything.
$a = <<<HEREDOC text jkdsdklvdkl HEREDOC; Source: https://ru.stackoverflow.com/questions/43607/
All Articles