missing 'have' -- language error?
| From: | Gabriele Kahlout | Date: | Mon, 09 Feb 2009 09:00:59 +0000 |
| Subject: | missing 'have' -- language error? | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-3784@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/en/language.types.string.php
For anything more complex, you should use the complex syntax.
Complex (curly) syntax
This isn't called complex because the syntax is complex, but because it
allows for the use of complex expressions.
In fact, any value in the namespace can be included in a
string<http://www.php.net/manual/en/language.types.string.php>with
this syntax. Simply write the expression the same way as it would
*HAVE *appeared outside the
string<http://www.php.net/manual/en/language.types.string.php>,
and then wrap it in *{* and *}*. Since *{* can not be escaped, this syntax
will only be recognised when the *$* immediately follows the *{*. Use
*{\$*to get a literal
*{$*. Some examples to make it clear:
Regards,
K. Gabriele
PS: PLEASE EITHER REPLY OR ACKNOWLEDGE RECEIPT WITH 'NOTIFICATION' IN THE
SUBJECT LINE WITHIN 48 HOURS OTHERWISE I MIGHT ASSUME YOU HAVE NOT RECEIVED
THE LETTER AND MIGHT RE-SEND IT.