summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorPierre Joye <pierre.php@gmail.com>2014-05-15 10:16:19 +0200
committerPierre Joye <pierre.php@gmail.com>2014-05-15 10:16:19 +0200
commit365446763f26da393234edbe4b0ca8077df8be67 (patch)
tree5bb047d34df65ac3ee5b6069266cb7385f528574 /main
parent6e84e4a28e67894cffea3af9d8c0543e96e23a2e (diff)
downloadphp-git-365446763f26da393234edbe4b0ca8077df8be67.tar.gz
zend_hash_del>zend_hash_str_del
Diffstat (limited to 'main')
-rw-r--r--main/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c
index 87e0b39c6c..92754a51c2 100644
--- a/main/main.c
+++ b/main/main.c
@@ -135,7 +135,7 @@ static php_win32_disable_functions(TSRMLS_D)
if (EG(windows_version_info).dwMajorVersion < 5) {
for (i = 0; i < function_name_cnt_5; i++) {
- if (zend_hash_del(CG(function_table), function_name_5[i], strlen(function_name_5[i]) + 1)==FAILURE) {
+ if (zend_hash_str_del(CG(function_table), function_name_5[i], strlen(function_name_5[i]) + 1)==FAILURE) {
php_printf("Unable to disable function '%s'\n", function_name_5[i]);
return FAILURE;
}
@@ -144,7 +144,7 @@ static php_win32_disable_functions(TSRMLS_D)
if (EG(windows_version_info).dwMajorVersion < 6) {
for (i = 0; i < function_name_cnt_6; i++) {
- if (zend_hash_del(CG(function_table), function_name_6[i], strlen(function_name_6[i]) + 1)==FAILURE) {
+ if (zend_hash_str_del(CG(function_table), function_name_6[i], strlen(function_name_6[i]) + 1)==FAILURE) {
php_printf("Unable to disable function '%s'\n", function_name_6[i]);
return FAILURE;
}