Re: PHP Alternative syntax
| From: | Zeev Suraski | Date: | Thu, 11 Oct 2001 23:19:16 +0000 |
| Subject: | Re: PHP Alternative syntax | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-67820@lists.php.net to get a copy of this message | ||
In the box:
Clarification: Contrary to previously available documentation, this alternative syntax is <b>not</b> deprecated, nor are there any plans to deprecate it in the future
Right after the explanation of the feature, and before the example:
<b>Warning:</b> Mixing the if(expr) { ... } syntax with if(expr): ... endif; syntax within the same code blocks is not supported. You should use either one or the other.