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 09:59 UTC
From: allardhoeve Assigned: davidc
Status: Closed Package: Net_URL (version 1.0.14)
PHP Version: 5.2.3 OS: Linux
Roadmaps: (Not assigned)    

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:
Solve the problem : 42 - 8 = ?

 [2007-06-21 09: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 :)


 [2007-06-27 06:04 UTC] cweiske (Christian Weiske)
There is no released version 1.0.15 - where do you have that from?
 [2007-06-27 17:49 UTC] allardhoeve (Allard Hoeve)
From pear-upgrade. It's a bit of a mystery, yes.
 [2007-06-27 17:54 UTC] davidc (David Coallier)
I am aware, will fix today and release.
 [2007-06-28 14:37 UTC] davidc (David Coallier)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the 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,