Re: Re: PHP 5.1 (Or How to break tousands of apps out there)
| From: | Lukas Smith | Date: | Fri, 25 Nov 2005 09:13:42 +0000 |
| Subject: | Re: Re: PHP 5.1 (Or How to break tousands of apps out there) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20346@lists.php.net to get a copy of this message | ||
Marcus Boerger wrote:
indeed. though this "mistake" applies to all of PEAR at this point .. it effectively means we need to fix _all_ of PEAR (which might be the point where you start of from scratch, php5 only etc .. but this is a topic for the pear mailinglists) regards, LukasSo in conclusion its needlessly messy. I am sure other projects than PEAR also have a Date class. Maybe we need to teach our users (including PEAR) that they should simply stick to prefixing everything with 3-4 letter combinations (maybe even offer a central place to register them, like we should do in the PEAR channel listing - http://pear.php.net/channels/).That conclusion means stay with date in ext/date and have pear learn the lesson by making the same mistake in core. Once again the only solution is namespacing.