Re: svn: /phpdoc/en/trunk/language/control-structures/ switch.xml

From: Date: Wed, 20 May 2015 21:26:26 +0000
Subject: Re: svn: /phpdoc/en/trunk/language/control-structures/ switch.xml
References: 1  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-13321@lists.php.net to get a copy of this message
Pasindu De Silva wrote: > pasindu Sat, 16 May 2015 04:53:41 +0000 > > Revision: 8£ > ,�‡ô¯&´\7%Ï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

« previous php.doc.cvs (#13321) next »