Re: [PHP4BETA] Incompatibility?
| From: | Zeev Suraski | Date: | Sun, 27 Feb 2000 05:04:54 +0000 |
| Subject: | Re: [PHP4BETA] Incompatibility? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11067@lists.php.net to get a copy of this message | ||
At 06:05 27/02/2000 , Mitch Vincent wrote:
" Static variable and class member initializers only accept scalar values (in PHP 3.0 they accepted any valid expression). The impact should be small, since initializers with anything but a simple static value rarely make sense. " Thanks! Oh, I'm using PHP Beta4 pl1 and Apache 1.3.12It applies exactly to your problem. You have a class member initializer, being assigned an object, which is not a simple scalar value. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/