Re: cvs: pear /Image_Color Color.php package.xml
| From: | Jon Parise | Date: | Sat, 28 Dec 2002 20:45:52 +0000 |
| Subject: | Re: cvs: pear /Image_Color Color.php package.xml | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-7980@lists.php.net to get a copy of this message | ||
On Sat, Dec 28, 2002 at 08:36:37PM -0000, Sebastian Bergmann wrote:
> sebastian Sat Dec 28 15:36:37 2002 EDT
>
> Modified files:
> /pear/Image_Color Color.php package.xml
> Log:
> Make namedColor2RGB() method static.
[..]
> function namedColor2RGB($color) {
> + $colornames = array(
Making $colornames static might yield a small performance increase, as
well.
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)