mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.0'
* PHP-8.0: Properly handle NULL output start filename
This commit is contained in:
@@ -758,7 +758,7 @@ PHPAPI void php_output_set_implicit_flush(int flush)
|
||||
* Get the file name where output has started */
|
||||
PHPAPI const char *php_output_get_start_filename(void)
|
||||
{
|
||||
return ZSTR_VAL(OG(output_start_filename));
|
||||
return OG(output_start_filename) ? ZSTR_VAL(OG(output_start_filename)) : NULL;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user