Meaning of <<< and >>>

What is the meaning / syntax for <<< or >>> in PHP? e.g.,

$foo = <<< END

END;

I’ve also seen it without the space, e.g.,

$foo = <<<END

END;

It’s known as heredoc and is one of the ways to create strings. Check it out in the manual: http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc :slight_smile: