ID: 39430
Comment by: judas dot iscariote at gmail dot com
Reported By: r dot vandruten at usc dot ru dot nl
Status: Open
Bug Type: Documentation problem
Operating System: freebsd 6.0
PHP Version: 5.2.0
New Comment:
it is a new , yet to be documented function part of the new DateTime
Facilities on 5.2.
Previous Comments:
------------------------------------------------------------------------
[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