]> granicus.if.org Git - php/commitdiff
fix typos
authorAntony Dovgal <tony2001@php.net>
Fri, 25 Jul 2008 08:45:09 +0000 (08:45 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 25 Jul 2008 08:45:09 +0000 (08:45 +0000)
ext/pdo/pdo_stmt.c
ext/reflection/php_reflection.c

index f4ae51c2c4dc25a45b36d8441281a3bd2cf27a23..edaa31e30f1029bcbb260ad03b88d385b0a8b580 100755 (executable)
@@ -860,7 +860,7 @@ static int make_callable_ex(pdo_stmt_t *stmt, zval *callable, zend_fcall_info *
        fcc->initialized = 1;
        fcc->function_handler = function_handler;
        fcc->calling_scope = EG(scope);
-       fcc->called_scope = Z_OBJCE_P(object);
+       fcc->called_scope = Z_OBJCE_PP(object);
        fcc->object_pp = object;
        
        return 1;
index 4a30b921b8c395a3b91f791ff4b0c3c01e4e31b9..aaf69d738050893f738249e70c6917a0817b2b42 100644 (file)
@@ -1235,7 +1235,7 @@ static void _reflection_export(INTERNAL_FUNCTION_PARAMETERS, zend_class_entry *c
        fcc.initialized = 1;
        fcc.function_handler = ce_ptr->constructor;
        fcc.calling_scope = ce_ptr;
-       fcc.called_scope = Z_OBJCE_P(reflection_ptr);
+       fcc.called_scope = reflection_ptr;
        fcc.object_pp = &reflector_ptr;
 
        result = zend_call_function(&fci, &fcc TSRMLS_CC);