[PHP-DEV] Array functions in PHP4. From: John Parker (jparker <email protected>)
Date: 01/11/00

This is probably the wrong mailing list - my apologies if is this is
off-topic.

I'm currently implementing a slashdot-alike, and I've run into a bit of a
brick wall. I'm just wondering if it's likely that an 'array_add' function
is liable to make it into PHP 4.

This could work in a similiar manner to 'array_merge', but would simply add
a new dimension to the array where the keys in the n'th array match the keys
in the first array.
        ie: $array = array_add(array primary_array, array array2, array
array3, ...);

I could of course work around this in PHP, but it seems more elegant (to me
at least) to tackle this at the API level.

Only an idea.

Regards,
John Parker.

------------------------------------------------------------------
John Parker email: jparker <email protected>
Internet Project Manager/Software Engineer web:www.itchannel.net
itCHANNEL International Ltd. tel: +44 (0) 1202 291939

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>