the 'alternative' syntax is not deprecated

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@59289 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
jim winstead 2001-10-09 23:29:27 +00:00
parent b203a027d1
commit 492229c5ce

View file

@ -1,5 +1,5 @@
<?xml encoding="iso-8859-1"?>
<!-- $Revision: 1.39 $ -->
<!-- $Revision: 1.40 $ -->
<chapter id="control-structures">
<title>Control Structures</title>
@ -154,18 +154,6 @@ if ($a &gt; $b) {
<sect1 id="control-structures.alternative-syntax">
<title>Alternative syntax for control structures</title>
<para>
<warning>
<simpara>
Alternative syntax is deprecated as of PHP 4. Basically,
it just generates unreadable code, and it gets
very complicated when mixing it with the normal syntax.
Although there are no plans to break this syntax, it
cannot be ruled out that one day this will stop working.
You are warned.
</simpara>
</warning>
</para>
<para>
PHP offers an alternative syntax for some of its control
structures; namely, <literal>if</literal>,