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

Bug #1621 Remove lines at end of Id.php
Submitted: 2004-06-12 07:55 UTC
From: neufeind Assigned: alexmerz
Status: Closed Package: MP3_ID
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2004-06-12 07:55 UTC] neufeind
Description: ------------ Please remove the newlines at the end of Id.php soon! Reproduce code: --------------- Including/Requiring the file in your script. Expected result: ---------------- Simply including should not output anything. Actual result: -------------- Already outputs 2 newlines. E.g. in the proposal for MP3_Playlist David Costa had to place a really ugly workaround for this :-)) Workaround (by David): ob_start(); require_once 'MP3/Id.php'; ob_end_clean(); However, I don't think that needing workarounds like this is justified.

Comments

 [2004-06-12 10:34 UTC] alexmerz at php dot net
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. New release will follow next week