Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.6

Bug #4688 Complex.php outputs newline
Submitted: 2005-06-26 22:06 UTC
From: johannes at php dot net Assigned: jmcastagnetto
Status: Closed Package: Math_Complex
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 42 - 1 = ?

 
 [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

Comments

 [2005-07-26 18:58 UTC] jmcastagnetto
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.