Matching Strings in Zend PHP 5

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 = …

Zend PHP 5 – Strings – HEREDOC & NOWDOC

HEREDOC and NOWDOC are used to specify a string literal. This is covered within the Zend PHP 5 study guide.
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.
$string = …