Re: Removing zend_hash_func in PHP 6.0
| From: | shire | Date: | Tue, 26 May 2009 23:09:54 +0000 |
| Subject: | Re: Removing zend_hash_func in PHP 6.0 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44071@lists.php.net to get a copy of this message | ||
Antony Dovgal wrote:
On 26.05.2009 16:13, David Soria Parra wrote:I would like to see us clean up items like this as part of the PHP-6 release, part of the list of todo items was to get rid of any bits like this that can be unnecessarily confusing etc. I do think it should be done in a way that deprecates one of the functions, but not the other to make migration easier for extensions (unless we have a compelling reason for a complete rename). -shireHi List, I recently discovered that zend_hash_func is equal to zend_get_hash_value. To clean this up, I would like to remove zend_hash_func in favor of zend_get_hash in HEAD. If there are no objections I would commit a patch in a few days.12:48<@tony2001> dsp__: I see no point in removing it completely and breaking BC for no reason 12:48<@tony2001> you can remove it, but leave a macro to make sure old code still works