We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97202d9 commit d6a18a7Copy full SHA for d6a18a7
main/output.c
@@ -758,7 +758,7 @@ PHPAPI void php_output_set_implicit_flush(int flush)
758
* Get the file name where output has started */
759
PHPAPI const char *php_output_get_start_filename(void)
760
{
761
- return ZSTR_VAL(OG(output_start_filename_str));
+ return OG(output_start_filename_str) ? ZSTR_VAL(OG(output_start_filename_str)) : NULL;
762
}
763
/* }}} */
764
0 commit comments