summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/callable.cpp5
-rw-r--r--src/classbase.cpp2
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);
}