Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - stubentigger

Pages: [1]
1
Feedback & Suggestions / Re: Problems with PHP 4.3.10 (or higher)
« on: April 30, 2005, 08:02:49 PM »
actualy its not 4images that should be fixed, its Zend Optimizer that should be updated.

Ups... Sorry for that fault ;)
But for those ones who are not able to update their Zend Optimizers (because of shared hosting, etc.) I have made my patch available here.
I don't understand why I hadn't this idea earlier - sometimes the simplest solution is the hardest to recognize :D
I'll upgrade my Zend Optimizer immediatly :D

2
Feedback & Suggestions / Problems with PHP 4.3.10 (or higher)
« on: April 30, 2005, 07:32:42 PM »
Starting from PHP Version 4.3.10 with Zend Optimizer there seems to be an issue with nearly all versions of 4images:

As you can read here, here and here, there are some changes to the foreach-construct

foreach($Array as $Value) doesn't work anymore.
Sure, from another point of view, it works, but returns always an indexed array with the key-value and the data inside the current array-Item, so that all further operations fail because they do not get their expected data.

A work-around is to switch to "foreach ($Array as $Key => $Value)" or using "while (list(, $Value) = each($Array))". Both solutions require a huge amount of nasty work (belive me, I did it already :D)... From my point of view its an essential bug and needs to be fixed soon, but on the other hand there are not so many people out there using Zend Optimizer combined with your scripts ;)

Beside the fact that I already fixed this issue once, I'm not involved into that problem - I'm only doing some small hosting (that's where I noticed this problem here) but my business is ASP (that's why there is Zend Optimizer on my servers)

Pages: [1]