summaryrefslogtreecommitdiff
path: root/Zend/tests/output_started_at_eval.phpt
blob: 4bb331c76f160b89dc7d24725ab98c341d2643fd (plain)
1
2
3
4
5
6
7
8
9
10
11
--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