PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Date and Time » Date » Bug #6063

Date does not work under 5.1.0

Details

Request #6063Date does not work under 5.1.0
Submitted2005-11-24 22:41 UTC
Fromo dot persson at gmail dot com
Assignedpajoye
StatusBogus
PackageDate
PHP Version5.1.0
OSDebian GNU/Linux
Roadmaps(Not assigned)

Comments

[2005-11-24 22:41 UTC] o dot persson at gmail dot com

Description:
------------
I don't know if this should be seen as a bug or not.

In recent versions of PHP 5.1, and now the latest stable 5.1.0, a class called 'date' and 'timezone' exists. This generates a fatal error since it conflicts with the name of this package.

I understand that this is a big change ... but is there any other option than to change the class name?