Re: Zend Optimizer Users : Request for testing.
| From: | Justin Patrin | Date: | Tue, 17 Aug 2004 17:25:42 +0000 |
| Subject: | Re: Zend Optimizer Users : Request for testing. | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14151@lists.php.net to get a copy of this message | ||
On Tue, 17 Aug 2004 22:06:11 +0800, Alan Knowles <alan@akbkhome.com> wrote:
> http://pear.php.net/bugs/bug.php?id=2138
>
> Includes a potential fix for the infamous segfault with zend optimizer.
> HOWEVER! it has been reported that lowering the optimization also fixes
> this.
>
> Ideally If someone has Zend Optimizer, and has tested DataObjects with it.
>
> What is the maximum level that works, what is the ini setting for it..
>
> If someone can send me some code that reliably test for it eg.
>
> $disableOverload =
> defined('DB_DATAOBJECT_NO_OVERLOAD')
> (phpversion() == '4.3.2-RC1') ||
> (version_compare( phpversion(), "4.3.1") < 0) ||
> (extension_loaded('Zend Optimizer') &&
> (ini_get('????optimization.level????') > ????value?????))
>
> We should be able to nail this bug once and forall....
>
Quick comment: I don't use Zend Optimizer and I still saw some
segfaults when using the OVERLOAD setting. I have also seen many
reference issues when using them (i.e. objects passed into a function
which is defined by reference get passed in by value instead).
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--