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

Bug #11385 Variables $url and $useBrackets are declared twice, conflicts with PHP 5.2.3.
Submitted: 2007-06-21 04:59 UTC Modified: 2007-06-28 09:37 UTC
From: allardhoeve Assigned: davidc
Status: Closed Package: Net_URL (version 1.0.14)
PHP Version: 5.2.3 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2007-06-21 04:59 UTC] allardhoeve (Allard Hoeve)
Description: ------------ Since upgrading to PHP 5.2.3 I've been getting notices like seen below. A simple patch fixes this. Please release. PS: My current version is 1.0.15 but it's not in the dropdown :) Test script: --------------- $ echo '<? require "Net/URL.php"; ?>' | php5 Fatal error: Cannot redeclare Net_URL::$url in /usr/share/php/Net/URL.php on line 103 Expected result: ---------------- Not have any warnings :) Actual result: -------------- Warnings :)

Comments

 [2007-06-27 01:04 UTC] cweiske (Christian Weiske)
There is no released version 1.0.15 - where do you have that from?
 [2007-06-27 12:49 UTC] allardhoeve (Allard Hoeve)
From pear-upgrade. It's a bit of a mystery, yes.
 [2007-06-27 12:54 UTC] davidc (David Coallier)
I am aware, will fix today and release.
 [2007-06-28 09:37 UTC] davidc (David Coallier)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Was already fixed in cvs, Will try to make a release when tests are finished. Thanks,