File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ while (1) {
49
49
}
50
50
?>
51
51
--EXPECTF--
52
- Fatal error: {closure%A}(): Cannot use output buffering in output buffering display handlers in %s on line %d
52
+ Notice: ob_start(): Failed to create buffer in %s on line %d
53
+
54
+ Fatal error: Allowed memory size of %d bytes exhausted at %s (tried to allocate %d bytes) in %s on line %d
53
55
54
56
Notice: ob_start(): Failed to create buffer in %s on line %d
Original file line number Diff line number Diff line change @@ -538,7 +538,8 @@ PHPAPI int php_output_handler_start(php_output_handler *handler)
538
538
if (php_output_lock_error (PHP_OUTPUT_HANDLER_START ) || !handler ) {
539
539
return FAILURE ;
540
540
}
541
- if (!(OG (flags ) & PHP_OUTPUT_ACTIVATED ) || !OG (handlers ).elements ) {
541
+ /* Output activated but stack destroyed */
542
+ if ((OG (flags ) & PHP_OUTPUT_ACTIVATED ) && OG (handlers ).elements == NULL ) {
542
543
return FAILURE ;
543
544
}
544
545
if (NULL != (conflict = zend_hash_find_ptr (& php_output_handler_conflicts , handler -> name ))) {
You can’t perform that action at this time.
0 commit comments