From: Joel U. <uck...@no...> - 2005-01-31 21:47:41
|
Thus spake "Charles Corrigan": > > A patch to lib/WikiDB.php follows. This is part 2 of my previous set of fixe > s to the caching logic. > > While debugging why caching was not working for me, I found that get_versiond > ata() 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'. Wow, that's bizarre. Is there a reason why the indices here are strings rather than just numeric literals? If I had a Windows box with PHP, I'd test this myself, but does it become confused when you create an array element with index 0 instead of '0'? |