1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

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;
};