diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-01 10:32:26 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-01 10:32:26 +0100 |
commit | c8d1519f31baed0fb399dac9333e48e2f9e910ad (patch) | |
tree | 1e2192f0b91d55512d26f4a14c8eae6b5a1f6ece /src/callable.cpp | |
parent | 73945a9cb2b096a5379d17c028bda102b87aedce (diff) |
namespace implementation, compile issue for php 5.4 and higher
Diffstat (limited to 'src/callable.cpp')
-rw-r--r-- | src/callable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callable.cpp b/src/callable.cpp index d410c0b..5745d79 100644 --- a/src/callable.cpp +++ b/src/callable.cpp @@ -94,7 +94,7 @@ void Callable::initialize(zend_internal_function_info *info, const char *classna // because we do not support returning references in PHP-CPP, although Zend // engine allows it. Inside the name we hide a pointer to the current object info->_name = _ptr; - info->_name_len = _ptr.length(); + info->_name_len = strlen(_ptr); info->_class_name = classname; // number of required arguments, and the expected return type |