#39430 [Opn->Bgs]: Fatal error: Cannot redeclare date_format()
| From: | nlopess@php.net | Date: | Thu, 09 Nov 2006 16:02:21 +0000 |
| Subject: | #39430 [Opn->Bgs]: Fatal error: Cannot redeclare date_format() | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969374359@lists.php.net to get a copy of this message | ||
ID: 39430
Updated by: nlopess@php.net
Reported By: r dot vandruten at usc dot ru dot nl
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: freebsd 6.0
PHP Version: 5.2.0
New Comment:
We have tools to track undocumented functions, so there's no need to
have this bug open.
Previous Comments:
------------------------------------------------------------------------
[2006-11-09 08:35:25] derick@php.net
Yes it is.
------------------------------------------------------------------------
[2006-11-08 19:27:57] judas dot iscariote at gmail dot com
it is a new , yet to be documented function part of the new DateTime
Facilities on 5.2.
------------------------------------------------------------------------
[2006-11-08 15:13:21] r dot vandruten at usc dot ru dot nl
its an internal function? but not in the documents?
------------------------------------------------------------------------
[2006-11-08 15:08:13] r dot vandruten at usc dot ru dot nl
addition perhaps its an engine or module problem
------------------------------------------------------------------------
[2006-11-08 14:56:09] r dot vandruten at usc dot ru dot nl
Description:
------------
Fatal error: Cannot redeclare date_format() in /usr/home/tester.php on
line 4
<?
function date_format($x){
return 1;
}
?>
is date_format a new undocumented function?
Reproduce code:
---------------
<?
function date_format($x){
return 1;
}
?>
Expected result:
----------------
In 5.1.4 nothing in 5.2.0 ?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39430&edit=1