]> granicus.if.org Git - php/commitdiff
reduce struct size by 8 byte on 64 bit
authorAnatol Belski <ab@php.net>
Sun, 14 Sep 2014 09:26:17 +0000 (11:26 +0200)
committerAnatol Belski <ab@php.net>
Sun, 14 Sep 2014 09:26:17 +0000 (11:26 +0200)
ext/spl/spl_iterators.h

index 7435ce7f279b7afc232fe859d7aac47b635595de..91d9895e989b56eae6b867d65e9aea5c3954f74d 100644 (file)
@@ -154,12 +154,12 @@ typedef struct _spl_dual_it_object {
                } append;
 #if HAVE_PCRE || HAVE_BUNDLED_PCRE
                struct {
-                       int              use_flags;
-                       zend_long             flags;
-                       regex_mode       mode;
-                       zend_long             preg_flags;
+                       zend_long        flags;
+                       zend_long        preg_flags;
                        pcre_cache_entry *pce;
                        zend_string      *regex;
+                       regex_mode       mode;
+                       int              use_flags;
                } regex;
 #endif
                _spl_cbfilter_it_intern *cbfilter;