]> granicus.if.org Git - php/commitdiff
Fix reflection_class::isSubclassOf()
authorMarcus Boerger <helly@php.net>
Sat, 8 Nov 2003 21:02:21 +0000 (21:02 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 8 Nov 2003 21:02:21 +0000 (21:02 +0000)
Zend/zend_reflection_api.c
ext/reflection/php_reflection.c

index 99aaecd3e2f7014a94e29bcfb3fbe95bd2e9dade..efd3be9e37b89915dc0254670161d69f5bf6b77a 100644 (file)
@@ -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;
        }
 
index 99aaecd3e2f7014a94e29bcfb3fbe95bd2e9dade..efd3be9e37b89915dc0254670161d69f5bf6b77a 100644 (file)
@@ -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;
        }