From: Charles C. <ch...@ru...> - 2005-02-01 00:07:54
|
> Charles Corrigan schrieb: > > A patch to lib/WikiDB.php follows. This is part 2 of my previous set of fixes to the > > caching logic. > > > > While debugging why caching was not working for me, I found that get_versiondata() > > was behaving weirdly when the parameter $need_content was false. It appears that > > php 4.3.10 on windows gets confused when an array element is created with an index > > of '0'. > Please try to update your zend optimizer first. > https://www.zend.com/store/products/zend-optimizer.php > I had the same problem. I have never downloaded or used the zend optimizer on my windows machine, this is a stock php 4.3.10 on windows. Therefore I suggest that the change is made as it will affect others that know nothing of the zend optimizer. The patch is merely a change to otherwise unused constants, not a change to logic. Regards, Charles |