]> granicus.if.org Git - php/commitdiff
reduce struct size by 8 bytes on 64 bit
authorAnatol Belski <ab@php.net>
Sun, 14 Sep 2014 10:32:38 +0000 (12:32 +0200)
committerAnatol Belski <ab@php.net>
Sun, 14 Sep 2014 10:32:38 +0000 (12:32 +0200)
ext/reflection/php_reflection.c

index cd9f65dfd3783f958616d8ad1d3b9ecbd0ce05c0..9274ed5fe5ce71835450b86bd7a358abba6ab241 100644 (file)
@@ -209,10 +209,10 @@ typedef enum {
 /* Struct for reflection objects */
 typedef struct {
        zval dummy; /* holder for the second property */
-       void *ptr;
-       reflection_type_t ref_type;
        zval obj;
+       void *ptr;
        zend_class_entry *ce;
+       reflection_type_t ref_type;
        unsigned int ignore_visibility:1;
        zend_object zo;
 } reflection_object;