Re: cvs: phpdoc /en/reference/info/functions ini-get.xml
| From: | Derick Rethans | Date: | Thu, 16 Dec 2004 10:57:38 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/info/functions ini-get.xml | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969365480@lists.php.net to get a copy of this message | ||
On Thu, 16 Dec 2004, Nuno Lopes wrote:
> > Why not do it like:
> >
> > switch($last) {
> > case 'g':
> > $val *= 1024;
> > case 'm':
> > $val *= 1024;
> > case 'k':
> > $val *= 1024;
> > }
> >
> > is much shorter and cleaner looking.
> >
> > Derick
>
> I've seen your commit. I didn't do it like that because I think that the
> break's missing could confuse someone.
So add:
/* break intentionally missing */
;-)
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org