summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-11-08 21:02:21 +0000
committerMarcus Boerger <helly@php.net>2003-11-08 21:02:21 +0000
commitab6b1adf0bdd921257157bdb7fa5c22deba0ba15 (patch)
treefe55b5bc46a4f646777e60faa1405c8ef8e6c121
parent899b960ed1f0b2bc761458bef22fa497e6c40e99 (diff)
downloadphp-git-ab6b1adf0bdd921257157bdb7fa5c22deba0ba15.tar.gz
Fix reflection_class::isSubclassOf()
-rw-r--r--Zend/zend_reflection_api.c2
-rw-r--r--ext/reflection/php_reflection.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c
index 99aaecd3e2..efd3be9e37 100644
--- a/Zend/zend_reflection_api.c
+++ b/Zend/zend_reflection_api.c
@@ -2383,7 +2383,7 @@ ZEND_METHOD(reflection_class, isSubclassOf)
METHOD_NOTSTATIC;
GET_REFLECTION_OBJECT_PTR(ce);
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", reflection_class_ptr, &object) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &object, reflection_class_ptr) == FAILURE) {
return;
}
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 99aaecd3e2..efd3be9e37 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -2383,7 +2383,7 @@ ZEND_METHOD(reflection_class, isSubclassOf)
METHOD_NOTSTATIC;
GET_REFLECTION_OBJECT_PTR(ce);
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", reflection_class_ptr, &object) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &object, reflection_class_ptr) == FAILURE) {
return;
}