summaryrefslogtreecommitdiff
path: root/php/src/IcePHP/Communicator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'php/src/IcePHP/Communicator.cpp')
-rw-r--r--php/src/IcePHP/Communicator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/php/src/IcePHP/Communicator.cpp b/php/src/IcePHP/Communicator.cpp
index 79f612326bd..c65388b4c6a 100644
--- a/php/src/IcePHP/Communicator.cpp
+++ b/php/src/IcePHP/Communicator.cpp
@@ -1489,7 +1489,8 @@ IcePHP::ObjectFactoryI::create(const string& id)
zend_try
{
- zend_call_method_with_1_params(&factory, 0, 0, const_cast<char*>("create"), &obj, arg);
+ const char* func = "create";
+ zend_call_method(&factory, 0, 0, const_cast<char*>(func), strlen(func), &obj, 1, arg, 0 TSRMLS_CC);
}
zend_catch
{