PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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