summaryrefslogtreecommitdiff
path: root/zend/globals.cpp
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-09 10:24:13 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-09 10:24:13 +0200
commit882e5243767bd4cc143aceaae4133f92a762c6af (patch)
tree9d395f7c1f12752982bbade94f898cec8a794bc7 /zend/globals.cpp
parent3953d8833e070fa1d6cc7b264dd19ed56c909f02 (diff)
added unset function (request from issue #71)
Diffstat (limited to 'zend/globals.cpp')
-rw-r--r--zend/globals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zend/globals.cpp b/zend/globals.cpp
index 8132ef3..5299c90 100644
--- a/zend/globals.cpp
+++ b/zend/globals.cpp
@@ -43,7 +43,7 @@ Global Globals::operator[](const char *name)
TSRMLS_FETCH();
// check if the variable already exists
- if (zend_hash_find(&EG(symbol_table), name, strlen(name)+1, (void**)&varvalue) == FAILURE)
+ if (zend_hash_find(&EG(symbol_table), name, ::strlen(name)+1, (void**)&varvalue) == FAILURE)
{
// the variable does not already exist, return a global object
// that will automatically set the value when it is updated