From 6ff9ca12d60bc843adc4c87febc7d3b7e013b164 Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Thu, 13 Mar 2025 20:11:45 +0000 Subject: [PATCH] ext/date: Pack php_interval_obj This reduces the size of the struct from 88 to 80 bytes. --- ext/date/php_date.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/date/php_date.h b/ext/date/php_date.h index e45f30d0f8c..f5f43bc7dfb 100644 --- a/ext/date/php_date.h +++ b/ext/date/php_date.h @@ -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; };