Home » Math » Math_Complex » Bug #4688
Complex.php outputs newline
Details
| Submitted | 2005-06-26 22:06 UTC |
|---|---|
| From | johannes at php dot net |
| Assigned | jmcastagnetto |
| Status | Closed |
| Package | Math_Complex |
| PHP Version | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2005-06-26 22:06 UTC] johannes at php dot net
Description:
------------
Math/Complex.php outputs an new line after the closing ?>
imho it would be best to remove the closing tag.
Reproduce code:
---------------
<?php
require_once('Math/Complex.php');
header('Content-type: text/plain');
Expected result:
----------------
Empty file
Actual result:
--------------
Warning: Cannot modify header information - headers
already sent by (output started
at /.../Math/Complex.php:178) in /.../foo.php on line 3