summaryrefslogtreecommitdiff
path: root/zend/classimpl.h
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/classimpl.h
parent3953d8833e070fa1d6cc7b264dd19ed56c909f02 (diff)
added unset function (request from issue #71)
Diffstat (limited to 'zend/classimpl.h')
-rw-r--r--zend/classimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zend/classimpl.h b/zend/classimpl.h
index febdbca..ec28322 100644
--- a/zend/classimpl.h
+++ b/zend/classimpl.h
@@ -408,7 +408,7 @@ public:
void property(const char *name, bool value, int flags = Php::Public) { _members.push_back(std::make_shared<BoolMember> (name, value, flags & PropertyModifiers)); }
void property(const char *name, char value, int flags = Php::Public) { _members.push_back(std::make_shared<StringMember> (name, &value, 1, flags & PropertyModifiers)); }
void property(const char *name, const std::string &value, int flags = Php::Public) { _members.push_back(std::make_shared<StringMember> (name, value, flags & PropertyModifiers)); }
- void property(const char *name, const char *value, int flags = Php::Public) { _members.push_back(std::make_shared<StringMember> (name, value, strlen(value), flags & PropertyModifiers)); }
+ void property(const char *name, const char *value, int flags = Php::Public) { _members.push_back(std::make_shared<StringMember> (name, value, ::strlen(value), flags & PropertyModifiers)); }
void property(const char *name, double value, int flags = Php::Public) { _members.push_back(std::make_shared<FloatMember> (name, value, flags & PropertyModifiers)); }
/**