Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004319 [Quercus] minor always 12-07-10 17:20 12-07-10 17:22
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.14
Summary 0004319: list($a) = each($this->foo)
Description (rep by Akara Sucharitakul)

I'm testing the pro version on Ubuntu 10.04 both Sun and IBM JVMs, Tomcat 6.0.29 and ran into some snag. The first time I load the page things are OK. The second time I get a blank page. The error in the catalina.out is as follows:

INFO: /home/akara/opt/apache-tomcat-6.0.29/webapps/qphp/recovery/public/includes/core/Page.php:91: Fatal Error: list() expression for a loop must be a variable at 'this->blocklist

The offending code is attached. The line has a weired:

while (list($blockname, $content) = each($this->blocklist)) {

If I take the license out of the web.xml and restart Tomcat running Quercus in interpreted mode, this all works fine. So it seems to have something to do with the compiler.
Additional Information php/33lm
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
12-07-10 17:20 ferg New Issue
12-07-10 17:22 ferg Assigned To  => ferg
12-07-10 17:22 ferg Status new => closed
12-07-10 17:22 ferg Resolution open => fixed
12-07-10 17:22 ferg Fixed in Version  => 4.0.14

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker