Here is an overview of the matching strings in Zend PHP 5 section when studying for the certification. There are a variety of functions in PHP we can use to compare and match two strings. Below are some examples, such as the equal comparison operators used to compare if two strings are equal.
$string1 = …
HEREDOC and NOWDOC are used to specify a string literal. This is covered within the Zend PHP 5 study guide.
HEREDOC
The heredoc syntax uses the operator: <<<. After this operator, an identifier is provided, then a newline. The string itself follows, and then the same identifier again to close the quotation.
<?php
$string = …