Re: cvs: php4 /pear DB.php
| From: | Chuck Hagenbuch | Date: | Wed, 18 Jul 2001 13:35:57 +0000 |
| Subject: | Re: cvs: php4 /pear DB.php | ||
| References: | 1 2 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-294@lists.php.net to get a copy of this message | ||
Quoting "Stig S. Bakken" <Stig.Bakken@fast.no>:
> What problem? Was I relying on a feature newer than I thought?
static $foo = array('foo') seems not to work, at least with my copy of PHP
(4.0.7-dev built on May 30th); you need to declare the static var and then
initialize it only if it isn't already defined. I was getting undefined index
errors.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.