com php-src: Do not include BC for zend_symbtable_add_new on 7.2/master: Zend/zend_hash.h
| From: | Sara Golemon | Date: | Thu, 07 Sep 2017 21:37:20 +0000 |
| Subject: | com php-src: Do not include BC for zend_symbtable_add_new on 7.2/master: Zend/zend_hash.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99316@lists.php.net to get a copy of this message | ||
Commit: 55562dfb0018df0df467b57f86870a4a00d82766
Author: Sara Golemon <pollita@php.net> Thu, 7 Sep 2017 17:37:20 -0400
Parents: 361d3007a681ba7c0e0a41eda8d255ba3b72c026
Branches: PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=55562dfb0018df0df467b57f86870a4a00d82766
Log:
Do not include BC for zend_symbtable_add_new on 7.2/master
Changed paths:
M Zend/zend_hash.h
Diff:
diff --git a/Zend/zend_hash.h b/Zend/zend_hash.h
index 96af32c...fc91dfb 100644
--- a/Zend/zend_hash.h
+++ b/Zend/zend_hash.h
@@ -357,10 +357,6 @@ static zend_always_inline zval *zend_symtable_add_new(HashTable *ht,
zend_string
}
}
-/* This typo snuck into 7.0.17 and 7.1.3, this define exists for BC */
-#define zend_symbtable_add_new(ht, key, pData) \
- zend_symtable_add_new(ht, key, pData)
-
static zend_always_inline zval *zend_symtable_update(HashTable *ht, zend_string *key, zval *pData)
{
zend_ulong idx;