diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-09 10:24:13 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-09 10:24:13 +0200 |
commit | 882e5243767bd4cc143aceaae4133f92a762c6af (patch) | |
tree | 9d395f7c1f12752982bbade94f898cec8a794bc7 /zend/globals.cpp | |
parent | 3953d8833e070fa1d6cc7b264dd19ed56c909f02 (diff) |
added unset function (request from issue #71)
Diffstat (limited to 'zend/globals.cpp')
-rw-r--r-- | zend/globals.cpp | 2 |
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 |