mirror of
https://github.com/php/php-src.git
synced 2024-12-17 05:50:14 +08:00
97202d9d84
As filenames are no longer interned, we need to keep a reference to the zend_string to make sure it isn't freed. To avoid a nominal source compatibility break, create a new member in the globals.
12 lines
239 B
PHP
12 lines
239 B
PHP
--TEST--
|
|
Output start at eval()
|
|
--FILE--
|
|
<?php
|
|
eval('echo "Foo\n";');
|
|
header('Foo: Bar');
|
|
?>
|
|
--EXPECTF--
|
|
Foo
|
|
|
|
Warning: Cannot modify header information - headers already sent by (output started at %s(2) : eval()'d code:1) in %s on line %d
|