Patch for bug/feature request 16119
| From: | Tony Leake | Date: | Tue, 27 Aug 2002 20:33:53 +0000 |
| Subject: | Patch for bug/feature request 16119 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-87542@lists.php.net to get a copy of this message | ||
Hi,
I have written a patch for the above feature request to implement an
array_swap function.
array_swap($array, $key1, $key2), where keys can be either index or
assoc and array content can be any combination of string, long, array
and object.
This is my first patch and I am hoping to contribute more to php in the
future so if you don't want to use the patch for any reason, I would be
grateful for any pointers or comments on the code.
Regards
Tony Leake
Attachment: [text/x-patch] diff.txt
Attachment: [text/x-patch] diff.txt