Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

[PHP3] multidimensional arrays crushed by post From: Tim Pease (timpease <email protected>)
Date: 07/09/98

Why are multi-dimensional arrays (arrays of arrays), 'a[1][2]' , reduced
to single-dimensional associative arrays 'a["1][2"]' when they are
posted?

Couldn't multiple-dimensioned arrays be automatically "reconstituted"
somehow from their associative forms?

'a[1][2]' and 'a["1][2"]' are semantically distinct because different
methods of traversal (for example nested "each()") do not work with each
form.

Has there been any progress addressing this issue since bug #279 was
posted?

Does anyone know of any (not-so-messy, higher performance) work-arounds?
( -- parsing HTTP_POST_VARS seems a waste.)

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive: http://www.tryc.on.ca/php3.html