diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-07 10:55:16 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-07 10:55:16 +0100 |
commit | 778c45ac7507a995d0fa3f1892477172e7fc020d (patch) | |
tree | 330cdb40724637f05ae332155a679fad546bb1bf /src | |
parent | d8af7675389df1bf4796e03e9286fdadba882d38 (diff) |
removed debug code
Diffstat (limited to 'src')
-rw-r--r-- | src/callable.cpp | 5 | ||||
-rw-r--r-- | src/classbase.cpp | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/callable.cpp b/src/callable.cpp index 5229722..66333d5 100644 --- a/src/callable.cpp +++ b/src/callable.cpp @@ -76,9 +76,6 @@ void Callable::initialize(zend_function_entry *entry, const char *classname, int entry->num_args = _argc; entry->flags = flags; - std::cout << entry->fname << " num_args " << entry->num_args << std::endl; - std::cout << entry->fname << " flags " << entry->flags << std::endl; - // we should fill the first argument as well #if PHP_VERSION_ID >= 50400 initialize((zend_internal_function_info *)entry->arg_info, classname); @@ -104,8 +101,6 @@ void Callable::initialize(zend_internal_function_info *info, const char *classna info->required_num_args = _required; info->_type_hint = (unsigned char)_return; - std::cout << "required_num_args " << info->required_num_args << std::endl; - // we do not support return-by-reference info->return_reference = false; diff --git a/src/classbase.cpp b/src/classbase.cpp index 48746ec..14c43d3 100644 --- a/src/classbase.cpp +++ b/src/classbase.cpp @@ -250,7 +250,7 @@ void ClassBase::initialize(const std::string &prefix) // mark the interfaces as being implemented for (auto &interface : _interfaces) { - std::cout << "interface: " << interface << std::endl; + // implement interface zend_do_implement_interface(_entry, *interface); } |