Hi,
it seems the current PHP version on the toolserver has a weird bug, according to several online sources. Google for: php "Cannot use string offset as an array"
At least one of my scripts is suffering from this. Can someone please upgrade to the latest PHP? I hope that will fix it. In the meantime, I'm trying to code around it, with little success.
Magnus
A bit of googling suggests it's due to trying to use an string with no characters ("") as an array. Can some strlen (or is_array) checking solve it? What's the failing code?
----- Original Message ----- From: "Magnus Manske" magnus.manske@web.de Sent: Saturday, July 22, 2006 12:22 AM Subject: [Toolserver-l] PHP weirdness
Hi,
it seems the current PHP version on the toolserver has a weird bug, according to several online sources. Google for: php "Cannot use string offset as an array"
At least one of my scripts is suffering from this. Can someone please upgrade to the latest PHP? I hope that will fix it. In the meantime, I'm trying to code around it, with little success.
Magnus
toolserver-l@lists.wikimedia.org