Hi,
This PHP bug can explain _a lot_ of those error reports: http://bugs.php.net/bug.php?id=31134
Marc
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
Marc Delisle wrote:
This PHP bug can explain _a lot_ of those error reports: http://bugs.php.net/bug.php?id=31134
According to that bug report, it's rather a Zend Optimizer problem. Is there an easy way to detect this bug?
Regards,
AMT
Alexander M. Turek a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
Marc Delisle wrote:
This PHP bug can explain _a lot_ of those error reports: http://bugs.php.net/bug.php?id=31134
According to that bug report, it's rather a Zend Optimizer problem. Is there an easy way to detect this bug?
Regards,
AMT
I think so! we could do -------------- $test = array(1);
foreach ($test as $key){ if (is_array($key)) { echo "PHP problem, maybe upgrade your Zend optimizer, blah blah"; } } --------------
Marc
Marc Delisle a écrit :
Alexander M. Turek a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
Marc Delisle wrote:
This PHP bug can explain _a lot_ of those error reports: http://bugs.php.net/bug.php?id=31134
According to that bug report, it's rather a Zend Optimizer problem. Is there an easy way to detect this bug?
Regards,
AMT
I think so! we could do
$test = array(1);
foreach ($test as $key){ if (is_array($key)) { echo "PHP problem, maybe upgrade your Zend optimizer, blah blah"; } }
Marc
I added FAQ 2.8 about this, pointing to the PHP bug report, and also to another possible cause for this error.
Modified common.lib.php to show a link to this FAQ whenever the error happens.
Marc