From d8af7675389df1bf4796e03e9286fdadba882d38 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Fri, 7 Mar 2014 10:52:55 +0100 Subject: removed tabs from makefile, work in progress on implementing SPL interfaces --- src/callable.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/callable.cpp') diff --git a/src/callable.cpp b/src/callable.cpp index 66333d5..5229722 100644 --- a/src/callable.cpp +++ b/src/callable.cpp @@ -76,6 +76,9 @@ 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); @@ -101,6 +104,8 @@ 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; -- cgit v1.2.3