#34373 [NEW]: Undefined function error calling timezone_identifiers_list() function.
| From: | nickj-phpbugs at nickj dot org | Date: | Mon, 05 Sep 2005 07:09:33 +0000 |
| Subject: | #34373 [NEW]: Undefined function error calling timezone_identifiers_list() function. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-84538@lists.php.net to get a copy of this message | ||
From: nickj-phpbugs at nickj dot org
Operating system: Debian Woody GNU/Linux 3.0r6
PHP version: 4CVS-2005-09-05 (snap)
PHP Bug Type: Date/time related
Bug description: Undefined function error calling timezone_identifiers_list() function.
Description:
------------
I read in the "PHP Time Handling" talk at
http://www.derickrethans.nl/files/time-ac2005.pdf
on slide 24 that there
was a new date-related function called "timezone_identifiers_list()". This
function also appears in the "Functions in PHP CVS but not PHP
Documentation" list, at http://www.phpdoc.info/meta/phpsrc-vs-phpdoc.php
,
so I hope I'm correct in assuming that this function should work in the
latest PHP 5.1 CVS snapshot. However, I get an "undefined function" error
when calling this function:
======================================================
ludo:~/tmp/php-5.1-dev/my-bugs/timezone_identifiers_list# cat
print_timezones.php
<?php
$tzs = timezone_identifiers_list();
print_r($tzs);
?>
======================================================
Error:
======================================================
ludo:~/tmp/php-5.1-dev/my-bugs/timezone_identifiers_list#
~/tmp/php-5.1-dev/php5-200509050430/sapi/cli/php ./print_timezones.php
PHP Fatal error: Call to undefined function timezone_identifiers_list()
in
/root/tmp/php-5.1-dev/my-bugs/timezone_identifiers_list/print_timezones.php
on line 2
ludo:~/tmp/php-5.1-dev/my-bugs/timezone_identifiers_list#
======================================================
--
Edit bug report at http://bugs.php.net/?id=34373&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34373&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34373&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34373&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34373&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34373&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34373&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34373&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34373&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34373&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34373&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34373&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34373&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34373&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34373&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34373&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34373&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34373&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34373&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34373&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34373&r=mysqlcfg