ID:               30375
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ragekab at yahoo dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Calendar related
 Operating System: Windows XP
 PHP Version:      5.0.2
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2004-10-09 18:43:45] ragekab at yahoo dot com

Description:
------------
The manual says "If no calendar is specified information on all
supported calendars is returned as an array. This functionality will be
available beginning with PHP 5."

I believe using cal_info() is suppose to work without a paramenter on
PHP 5, however it returns an error saying its expecting a parameter.

Reproduce code:
---------------
<?

print_r(cal_info());

// Warning: cal_info() expects exactly 1 parameter

?>

Expected result:
----------------
An array of all supported calendars should return



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30375&edit=1

Reply via email to