@@ -132,10 +132,10 @@ typedef struct _php_session_rfc1867_progress {
132
132
size_t content_length ;
133
133
134
134
zval data ; /* the array exported to session data */
135
- zval * post_bytes_processed ; /* data["bytes_processed"] */
136
135
zval files ; /* data["files"] array */
137
- zval current_file ; /* array of currently uploading file */
136
+ zval * post_bytes_processed ; /* data["bytes_processed"] */
138
137
zval * current_file_bytes_processed ;
138
+ zval current_file ; /* array of currently uploading file */
139
139
} php_session_rfc1867_progress ;
140
140
141
141
typedef struct _php_ps_globals {
@@ -147,19 +147,19 @@ typedef struct _php_ps_globals {
147
147
zend_long cookie_lifetime ;
148
148
char * cookie_path ;
149
149
char * cookie_domain ;
150
+ char * cookie_samesite ;
150
151
bool cookie_secure ;
151
152
bool cookie_httponly ;
152
- char * cookie_samesite ;
153
153
const ps_module * mod ;
154
154
const ps_module * default_mod ;
155
155
void * mod_data ;
156
156
php_session_status session_status ;
157
157
zend_string * session_started_filename ;
158
158
uint32_t session_started_lineno ;
159
+ int module_number ;
159
160
zend_long gc_probability ;
160
161
zend_long gc_divisor ;
161
162
zend_long gc_maxlifetime ;
162
- int module_number ;
163
163
zend_long cache_expire ;
164
164
struct {
165
165
zval ps_open ;
@@ -172,28 +172,29 @@ typedef struct _php_ps_globals {
172
172
zval ps_validate_sid ;
173
173
zval ps_update_timestamp ;
174
174
} mod_user_names ;
175
+ zend_string * mod_user_class_name ;
175
176
bool mod_user_implemented ;
176
177
bool mod_user_is_open ;
177
- zend_string * mod_user_class_name ;
178
- const struct ps_serializer_struct * serializer ;
179
- zval http_session_vars ;
180
178
bool auto_start ;
181
179
bool use_cookies ;
182
180
bool use_only_cookies ;
183
181
bool use_trans_sid ; /* contains the INI value of whether to use trans-sid */
182
+ bool send_cookie ;
183
+ bool define_sid ;
184
+
185
+ const struct ps_serializer_struct * serializer ;
186
+ zval http_session_vars ;
184
187
185
188
zend_long sid_length ;
186
189
zend_long sid_bits_per_character ;
187
- bool send_cookie ;
188
- bool define_sid ;
189
190
190
191
php_session_rfc1867_progress * rfc1867_progress ;
191
- bool rfc1867_enabled ; /* session.upload_progress.enabled */
192
- bool rfc1867_cleanup ; /* session.upload_progress.cleanup */
193
192
char * rfc1867_prefix ; /* session.upload_progress.prefix */
194
193
char * rfc1867_name ; /* session.upload_progress.name */
195
194
zend_long rfc1867_freq ; /* session.upload_progress.freq */
196
195
double rfc1867_min_freq ; /* session.upload_progress.min_freq */
196
+ bool rfc1867_enabled ; /* session.upload_progress.enabled */
197
+ bool rfc1867_cleanup ; /* session.upload_progress.cleanup */
197
198
198
199
bool use_strict_mode ; /* whether or not PHP accepts unknown session ids */
199
200
bool lazy_write ; /* omit session write when it is possible */
0 commit comments