diff options
author | Marcus Boerger <helly@php.net> | 2003-09-06 13:02:16 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-09-06 13:02:16 +0000 |
commit | 35529e1964d2317d6b34d2230ff3d20f29d27cbb (patch) | |
tree | dd11aee416da97bc226fac7592665b197a443ce1 /ext/reflection/php_reflection.c | |
parent | ed32007f5844f74ba410edd7626ed02f346197d8 (diff) | |
download | php-git-35529e1964d2317d6b34d2230ff3d20f29d27cbb.tar.gz |
Fix logic
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index e1554446f1..6d2b6de3c2 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -1752,11 +1752,11 @@ void reflection_class_object_ctor(INTERNAL_FUNCTION_PARAMETERS, int is_object) zend_class_entry **ce; if (is_object) { - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &argument) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &argument) == FAILURE) { return; } } else { - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &argument) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &argument) == FAILURE) { return; } } |