Re: cvs: phpdoc /en/reference/info/functions ini-get.xml
| From: | Nuno Lopes | Date: | Thu, 16 Dec 2004 10:51:26 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/info/functions ini-get.xml | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969365478@lists.php.net to get a copy of this message | ||
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. DerickI've seen your commit. I didn't do it like that because I think that the break's missing could confuse someone. Anyway, I'll follow your suggestion and change the code.. Nuno