mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
b203a027d1
commit
492229c5ce
1 changed files with 1 additions and 13 deletions
|
@ -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 > $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>,
|
||||
|
|
Loading…
Reference in a new issue