Re: PHP_Compat
| From: | Aidan Lister | Date: | Sun, 20 Jun 2004 02:24:56 +0000 |
| Subject: | Re: PHP_Compat | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30942@lists.php.net to get a copy of this message | ||
> 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.
Have you mentioned this to internals@ Mr T?
> > 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.
> Regards,
> Toby
> --
> Tobias Schlitt GPG Key: 0xA6529579
> a passion for php
> http://www.schlitt.info