summaryrefslogtreecommitdiff
path: root/php/src/IcePHP/Communicator.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2009-08-03 16:01:31 -0700
committerMark Spruiell <mes@zeroc.com>2009-08-03 16:01:31 -0700
commit559936d827c2377ab9750ebc5e0f73ac684b62a4 (patch)
treeacfc862b7132e39cf367f5652f98543dc154afd5 /php/src/IcePHP/Communicator.cpp
parentbug 4087 - anti-trust rule in IceSSL (diff)
downloadice-559936d827c2377ab9750ebc5e0f73ac684b62a4.tar.bz2
ice-559936d827c2377ab9750ebc5e0f73ac684b62a4.tar.xz
ice-559936d827c2377ab9750ebc5e0f73ac684b62a4.zip
bug 4186 - PHP test failure
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
{