PHP API 1.0.7

Brad Fitzpatrick brad@danga.com
Sun, 10 Aug 2003 16:16:37 -0700 (PDT)


PHP client version 1.0.7 is on the website, with your debugging
abstraction merged by hand (it didn't apply against Ryan's 1.0.7).
Because I did it by hand and didn't test, it may have syntax errors.  Let
me know.  I now have a release script for PHP, so it's easy for me to make
new releases.



On Sat, 9 Aug 2003, Brion Vibber wrote:

> Ryan Gilfether wrote:
>
> > A new version of the PHP API has been completed, verson 1.0.7.
>
>
> Cool! Where can I find it?
>
> I'm doing some preliminary work on getting memcached support into
> Wikipedia (or rather MediaWiki, as we've recently redubbed the software
> thereof), so far I've started with the 1.0.6 PHP client.
>
> > Along with that 3 new function have been added
> > error() - returns an error code for the last error genterated
> > error_string() - returns a string with a description of the error
> > error_clear() - clears the last error
>
>
> On a related note, the debug mode doesn't mix well with MediaWiki's
> output model. I replaced all the "print"s with calls to a _debug()
> private function which can I can then override in a subclass to dump
> things to our debug log; diff for 1.0.6 attached.
>
> -- brion vibber (brion @ pobox.com)
>