[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] Re: svn: /phpdoc/en/trunk/language/control-structures/ switch.xml
From:       Pasindu De Silva <ppasindud () gmail ! com>
Date:       2015-05-20 21:46:51
Message-ID: CAP9Mp8hBUXDDUGF=7MRFoCGjEjav4XyrtmjkMcq6eitu8Q-KTQ () mail ! gmail ! com
[Download RAW message or body]


Committed the patched +1

On Thu, May 21, 2015 at 2:56 AM, Christoph Becker <cmbecker69@gmx.de> wrote:

> Pasindu De Silva wrote:
>
> > pasindu                                  Sat, 16 May 2015 04:53:41 +0000
> >
> > Revision: http://svn.php.net/viewvc?view=revision&revision=336788
> >
> > Log:
> > Added Change log for switch
> > RFC multiple default cases
> >
> > Changed paths:
> >     U   phpdoc/en/trunk/language/control-structures/switch.xml
> >
> > Modified: phpdoc/en/trunk/language/control-structures/switch.xml
> > ===================================================================
> > --- phpdoc/en/trunk/language/control-structures/switch.xml    2015-05-16
> 03:01:16 UTC (rev 336787)
> > +++ phpdoc/en/trunk/language/control-structures/switch.xml    2015-05-16
> 04:53:41 UTC (rev 336788)
> > @@ -28,6 +28,33 @@
> >    </para>
> >   </note>
> >   <para>
> > +  <table>
> > +   <title>Changelogs</title>
>
> I suggest to use &reftitle.changelog;.  That is more consistent and
> makes it slightly easier for translators.
>
> > +   <tgroup cols="2">
> > +    <thead>
> > +     <row>
> > +      <entry>&Version;</entry>
> > +      <entry>&Description;</entry>
> > +     </row>
> > +    </thead>
> > +    <tbody>
> > +     <row>
> > +      <entry>7.0.0</entry>
> > +      <entry>
> > +       Multiple default cases will raise a
> <constant>E_COMPILE_ERROR</constant> error.
> > +      </entry>
> > +     </row>
> > +     <row>
> > +      <entry>TBD</entry>
> > +      <entry>
> > +       Multiple default cases will raise a
> <constant>E_DEPRECATED</constant> error.
> > +      </entry>
> > +     </row>
>
> Most likely there will be no deprecation phase.  That has been
> originally envisioned for PHP 5.7, but later it has been voted against
> releasing a further minor version of PHP 5[1].
>
> I suggest to remove this changelog entry.
>
> I've already submitted a respective patch via the online editor.
>
> [1] <https://wiki.php.net/rfc/php57>
>
> --
> Christoph M. Becker
>



-- 

*Pasindu De Silva**ppasindud@gmail.com <ppasindud@gmail.com>*


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic