PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Math » Math_Complex » Bug #4688

Complex.php outputs newline

Details

Submitted2005-06-26 22:06 UTC
Fromjohannes at php dot net
Assignedjmcastagnetto
StatusClosed
PackageMath_Complex
PHP VersionIrrelevant
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