wfArrayToCGI() and wfCgiToArray() now handle nested and associative arrays almost...
authorMatěj Grabovský <mgrabovsky@users.mediawiki.org>
Thu, 23 Jun 2011 15:25:07 +0000 (15:25 +0000)
committerMatěj Grabovský <mgrabovsky@users.mediawiki.org>
Thu, 23 Jun 2011 15:25:07 +0000 (15:25 +0000)
commit09da27efa2cacb16252fb43f4ec11d0a118e7129
treedd9c6ba2bbea6f0e77f574c79cf1ebf54b5481af
parent1682c80f1f36c1a59777b2f026c5c543c0e49385
wfArrayToCGI() and wfCgiToArray() now handle nested and associative arrays almost correctly

The only problem is that all the indexes have to be set, thus "key[]=value" won't get parsed correctly and array( 'key' => array( 'value' ) ) will transform to "key[0]=value".

Related bug 28928 and bug 22989.
RELEASE-NOTES-1.19
includes/GlobalFunctions.php
tests/phpunit/includes/GlobalTest.php