ext/date: Pack php_interval_obj

This reduces the size of the struct from 88 to 80 bytes.
This commit is contained in:
Gina Peter Banyard 2025-03-13 20:11:45 +00:00
parent 77c2fcf147
commit 6ff9ca12d6

View file

@ -89,9 +89,9 @@ static inline php_timezone_obj *php_timezone_obj_from_obj(zend_object *obj) {
struct _php_interval_obj {
timelib_rel_time *diff;
int civil_or_wall;
bool initialized;
bool from_string;
zend_string *date_string;
bool initialized;
zend_object std;
};