File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,6 @@ PHPAPI int php_output_clean(TSRMLS_D)
297
297
php_output_context context ;
298
298
299
299
if (OG (active ) && (OG (active )-> flags & PHP_OUTPUT_HANDLER_CLEANABLE )) {
300
- OG (active )-> buffer .used = 0 ;
301
300
php_output_context_init (& context , PHP_OUTPUT_HANDLER_CLEAN TSRMLS_CC );
302
301
php_output_handler_op (OG (active ), & context );
303
302
php_output_context_dtor (& context );
@@ -1226,7 +1225,6 @@ static inline int php_output_stack_pop(int flags TSRMLS_DC)
1226
1225
/* signal that we're cleaning up */
1227
1226
if (flags & PHP_OUTPUT_POP_DISCARD ) {
1228
1227
context .op |= PHP_OUTPUT_HANDLER_CLEAN ;
1229
- orphan -> buffer .used = 0 ;
1230
1228
}
1231
1229
php_output_handler_op (orphan , & context );
1232
1230
}
Original file line number Diff line number Diff line change 27
27
[0] => 1: yes
28
28
[1] => 4: !
29
29
30
- [2] => 2:
30
+ [2] => 2: no
31
31
[3] => 0: yes!
32
32
33
- [4] => 10:
33
+ [4] => 10: no
34
34
)
You can’t perform that action at this time.
0 commit comments