Re: Re: long email, sorry...
| From: | Steph Fox | Date: | Thu, 23 Mar 2006 18:19:14 +0000 |
| Subject: | Re: Re: long email, sorry... | ||
| References: | 1 2 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-1954@lists.php.net to get a copy of this message | ||
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.
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. - StephWhatever happens, it's going to end up being a much shorter script than it currently is...