@@ -961,7 +961,7 @@ static inline php_output_handler_status_t php_output_handler_op(php_output_handl
961
961
/* php_output_lock_error() doesn't fail for PHP_OUTPUT_HANDLER_WRITE but
962
962
* anything that gets written will silently be discarded, remember that we
963
963
* tried to write so a deprecation warning can be emitted at the end. */
964
- if (context -> op == PHP_OUTPUT_HANDLER_WRITE && OG (active ) && OG (running )) {
964
+ if (context -> op == PHP_OUTPUT_HANDLER_WRITE && ASYNC_OG (active ) && ASYNC_OG (running )) {
965
965
handler -> flags |= PHP_OUTPUT_HANDLER_PRODUCED_OUTPUT ;
966
966
}
967
967
@@ -1030,7 +1030,7 @@ static inline php_output_handler_status_t php_output_handler_op(php_output_handl
1030
1030
still_have_handler = false;
1031
1031
int handler_count = php_output_get_level ();
1032
1032
if (handler_count ) {
1033
- php_output_handler * * handlers = (php_output_handler * * ) zend_stack_base (& OG (handlers ));
1033
+ php_output_handler * * handlers = (php_output_handler * * ) zend_stack_base (& ASYNC_OG (handlers ));
1034
1034
for (int handler_num = 0 ; handler_num < handler_count ; ++ handler_num ) {
1035
1035
php_output_handler * curr_handler = handlers [handler_num ];
1036
1036
if (curr_handler == handler ) {
@@ -1084,7 +1084,7 @@ static inline php_output_handler_status_t php_output_handler_op(php_output_handl
1084
1084
if (still_have_handler ) {
1085
1085
handler -> flags |= PHP_OUTPUT_HANDLER_STARTED ;
1086
1086
}
1087
- OG (running ) = NULL ;
1087
+ ASYNC_OG (running ) = NULL ;
1088
1088
}
1089
1089
1090
1090
if (!still_have_handler ) {
@@ -1321,7 +1321,7 @@ static int php_output_stack_pop(int flags)
1321
1321
bool still_have_handler = false;
1322
1322
int handler_count = php_output_get_level ();
1323
1323
if (handler_count ) {
1324
- php_output_handler * * handlers = (php_output_handler * * ) zend_stack_base (& OG (handlers ));
1324
+ php_output_handler * * handlers = (php_output_handler * * ) zend_stack_base (& ASYNC_OG (handlers ));
1325
1325
for (int handler_num = 0 ; handler_num < handler_count ; ++ handler_num ) {
1326
1326
php_output_handler * curr_handler = handlers [handler_num ];
1327
1327
if (curr_handler == orphan ) {
0 commit comments