Bug 1097 - [Chameleon - Core] investigate impact of changing to PHP 4.4
: [Chameleon - Core] investigate impact of changing to PHP 4.4
Status: RESOLVED FIXED
: Chameleon
Core
: 2.2
: PC All
: P2 normal
: ---
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2005-06-21 08:36 by
Modified: 2005-07-14 09:57 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-06-21 08:36:48
PHP 4.4 has some internal structural changes that will likely affect
PHP/MapScript (see http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1387) and
may affect Chameleon.

Need to assess impact of changes once PHP/MapScript works with PHP 4.4.
------- Comment #1 From 2005-07-12 10:22:37 -------
PHP 4.4 has been released yesterday.
------- Comment #2 From 2005-07-13 15:42:07 -------
FYI, Julien closed MapServer bug MS-1387 with the following comment... is this
sufficient to close the current bug?

> PHP and Mapscript compile fine. The only thing is that we can't use the system
> regex in the compilation. There will be some more notice from PHP with
> Chameleon, but nothing from PHP/MapScript.
> 
> I tested with GMap demo and few Chameleon samples.
> 
> Marking as INVALID since nothing have been done
------- Comment #3 From 2005-07-14 09:57:09 -------
There was a Notice caused by PHP 4.4.0:
Notice:  Only variables should be assigned by reference in
chameleon/htdocs/TemplateParser.php on line 254

The return value of a str_replace function was passed by reference. I fixed the
problem by removing the reference. It may be a little bit slower, but there's
other place where we do copy of the template variable.

Marking as FIXED