|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-01-31 15:59 UTC] derick@php.net
[2006-01-31 16:17 UTC] hancoque at gmx dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 08:00:02 2025 UTC |
Description: ------------ When calling strtotime with an empty parameter it doesn't return an equivalent of time() but a timestamp that is missing hours, minutes and seconds (current day at 12:00 AM). I found it in 4.4.1 and checked if it still exists in 4.4.2, which it does. The problem occurs on the server of my webhoster (Linux) and on my test server at home (Windows). Reproduce code: --------------- echo strtotime(""); Expected result: ---------------- 1138718685 Actual result: -------------- 1138662000