com php-src: reduce struct size by 8 byte on 64 bit: ext/spl/spl_iterators.h
| From: | Anatol Belski | Date: | Sun, 14 Sep 2014 09:26:17 +0000 |
| Subject: | com php-src: reduce struct size by 8 byte on 64 bit: ext/spl/spl_iterators.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81590@lists.php.net to get a copy of this message | ||
Commit: a9c188fbc664b392eab003f310ad4487a9a556ea
Author: Anatol Belski <ab@php.net> Sun, 14 Sep 2014 11:26:17 +0200
Parents: 101adecbcd95eeffca5e0f73bf2a64d513de764d
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a9c188fbc664b392eab003f310ad4487a9a556ea
Log:
reduce struct size by 8 byte on 64 bit
Changed paths:
M ext/spl/spl_iterators.h
Diff:
diff --git a/ext/spl/spl_iterators.h b/ext/spl/spl_iterators.h
index 7435ce7..91d9895 100644
--- a/ext/spl/spl_iterators.h
+++ b/ext/spl/spl_iterators.h
@@ -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;