Re: Re: long email, sorry...

From: Date: Fri, 24 Mar 2006 12:26:45 +0000
Subject: Re: Re: long email, sorry...
References: 1 2 3 4  Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-1956@lists.php.net to get a copy of this message
I thought I'd already explained that at the beginning of this thread... No, it does not.
<sigh> Why are you reversing an array? Doesn't the script work for you as-is? -Andrei On Mar 23, 2006, at 10:19 AM, Steph Fox wrote:
Hey Andrei,
How often do you expect to update this script? I don't mind moving merge-php-gtk-doc-updates.php to php-gtk-doc/scripts, if that's what you are proposing.
Yes, I am - we'll need access to it as translators come in for sure, and probably also if/when there are future layout changes on the web site. I'll commit this version to php-gtk-doc then if that's okay with you.
Whatever happens, it's going to end up being a much shorter script than it currently is...
I kept the heavy commenting so it's not _that_ short, but I found a weird thing. If you reverse an array and then 'uniquify' it, the keys aren't always the same at the finish. I've a couple of items right at the end of the generated array here that swap position at every pass. Anyone come across this before? Admittedly I'm using a fairly old PHP 4 for this server stuff (hence no useful intersect) but even so...! Don't have kittens now Andrei, I've worked around it by using good old-fashioned unixstamps to sort by instead. - Steph
__________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com


« previous php.gtk.doc (#1956) next »