Re: PHP_Compat
| From: | Tobias Schlitt | Date: | Sun, 20 Jun 2004 14:04:58 +0000 |
| Subject: | Re: PHP_Compat | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30947@lists.php.net to get a copy of this message | ||
Hi Aidan Lister!
On 06/19/04 22:24 you wrote:
array_merge() does not merge multi dimensional arrays correctly, array_merge_recursive() does not overwrite keys, but duplicates them.
Ah, I see.
As with in_iarray, I think it's probably best not to add this stuff. PHP_Compat should only aim to replicate new PHP components. I think a PHP_Utils class would be a good idea.Sounds good for me. @pear-dev: What do the others think?
Have you mentioned this to internals@ Mr T?There is an open bug report: http://bugs.php.net/bug.php?id=23816 And 2 discussion mails from Lukas: http://marc.theaimsgroup.com/?l=php-dev&m=106509281928530&w=2 http://marc.theaimsgroup.com/?l=php-dev&m=106510565208955&w=2
Well yeh, I guess.
Was that a "yes", I will do? ;)
Yes!
PHP_Compat::loadVersion([string version]);
It'll be in the next version, probably.Sounds nice! :) Regards, Toby -- Tobias Schlitt GPG Key: 0xA6529579 a passion for php http://www.schlitt.info