Edit report at https://bugs.php.net/bug.php?id=55735&edit=1
ID: 55735 Updated by: bj...@php.net Reported by: bugzilla33 at gmail dot com Summary: problem: date + PHP5.4 SERVER['REQUEST_TIME'] -Status: Open +Status: Bogus Type: Bug Package: Date/time related Operating System: All PHP Version: 5.4.0beta1 Block user comment: N Private report: N New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. date() accepts integers, not floats, as mentioned in the note on http://php.net/date Previous Comments: ------------------------------------------------------------------------ [2011-09-20 08:37:59] bugzilla33 at gmail dot com Derick (der...@php.net) remember! SERVER['REQUEST_TIME'] includes microseconds in PHP 5.4 news.txt: - Changed $_SERVER['REQUEST_TIME'] to include microsecond precision. (Ilia) ------------------------------------------------------------------------ [2011-09-20 08:36:09] bugzilla33 at gmail dot com Description: ------------ date + PHP5.4 version of SERVER['REQUEST_TIME'] problem Test script: --------------- <?=date('u',$_SERVER['REQUEST_TIME'])?> Expected result: ---------------- Example: 423000 Actual result: -------------- 000000 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55735&edit=1