summaryrefslogtreecommitdiff
path: root/zend/super.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/super.cpp
parent3953d8833e070fa1d6cc7b264dd19ed56c909f02 (diff)
added unset function (request from issue #71)
Diffstat (limited to 'zend/super.cpp')
-rw-r--r--zend/super.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zend/super.cpp b/zend/super.cpp
index 506d4a5..c25efeb 100644
--- a/zend/super.cpp
+++ b/zend/super.cpp
@@ -34,7 +34,7 @@ Value Super::operator[](const std::string &key)
TSRMLS_FETCH();
// call zend_is_auto_global to ensure that the just-in-time globals are loaded
- if (_name) { zend_is_auto_global(_name, strlen(_name) TSRMLS_CC); _name = nullptr; }
+ if (_name) { zend_is_auto_global(_name, ::strlen(_name) TSRMLS_CC); _name = nullptr; }
// create a value object that wraps around the actual zval
Value value(PG(http_globals)[_index]);
@@ -55,7 +55,7 @@ Value Super::operator[](const char *key)
TSRMLS_FETCH();
// call zend_is_auto_global to ensure that the just-in-time globals are loaded
- if (_name) { zend_is_auto_global(_name, strlen(_name) TSRMLS_CC); _name = nullptr; }
+ if (_name) { zend_is_auto_global(_name, ::strlen(_name) TSRMLS_CC); _name = nullptr; }
// create a value object that wraps around the actual zval
Value value(PG(http_globals)[_index]);