diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-07 10:52:55 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-07 10:52:55 +0100 |
commit | d8af7675389df1bf4796e03e9286fdadba882d38 (patch) | |
tree | 00dbe04101fed59af5e9bd59f82dd7b94fc1b0b7 /src/callable.cpp | |
parent | c8ff51e13fc0a3d8fb7d1423882fa659f9cf2b3b (diff) |
removed tabs from makefile, work in progress on implementing SPL interfaces
Diffstat (limited to 'src/callable.cpp')
-rw-r--r-- | src/callable.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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; |