#35375 [NEW]: Empty date and timezone classes breaks PEAR
| From: | o dot persson at gmail dot com | Date: | Thu, 24 Nov 2005 22:12:24 +0000 |
| Subject: | #35375 [NEW]: Empty date and timezone classes breaks PEAR | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-88878@lists.php.net to get a copy of this message | ||
From: o dot persson at gmail dot com
Operating system: GNU/Debian Linux
PHP version: 5.1.0
PHP Bug Type: Date/time related
Bug description: Empty date and timezone classes breaks PEAR
Description:
------------
In PHP 5.1.0 there's a class called 'date' and 'timezone' which returns
"Fatal error: Cannot redeclare class date in PEAR/Date.php on line 71".
This might be a "problem" in PEAR, but not a fun one then. Listing all
classes shows me date and timezone, which looks very empty.
Reproduce code:
---------------
var_dump(get_declared_classes());
$date = new date;
var_dump(get_class_methods($date));
var_dump(get_class_vars($date));
--
Edit bug report at http://bugs.php.net/?id=35375&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35375&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35375&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35375&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=35375&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35375&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35375&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35375&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35375&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35375&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35375&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35375&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35375&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35375&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35375&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35375&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35375&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35375&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35375&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35375&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35375&r=mysqlcfg