Re: Image_Transform thoughts
| From: | Martin Jansen | Date: | Tue, 21 May 2002 21:35:20 +0000 |
| Subject: | Re: Image_Transform thoughts | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-6306@lists.php.net to get a copy of this message | ||
On Tue, 21 May 2002 17:29:52 +0200, Tomas V.V.Cox wrote:
>I proposed time ago to _recommend_ some other points that we are
>implicitly using:
Most of your points are already mentioned:
>a) variables (I would propose $long_var)
Added.
>b) constants (I would porpose UPPER_CASE_ONES)
http://pear.php.net/manual/en/standards.naming.php
"Constants should always be all-uppercase, with underscores to
separate words."
>c) spacing in control structures (one space between the command and the
>statement: "if ($a)" or "while ($a)")
http://pear.php.net/manual/en/standards.control.php
"Control statements should have one space between the control keyword
and opening parenthesis, to distinguish them from function calls."
>d) lower case PHP bool vars (false, true, null)
Added.
- Martin
--
Martin Jansen, <mail@martin-jansen.de>
http://www.martin-jansen.de/