|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-02-11 18:18 UTC] sstillwell at aerostich dot com
[2005-02-13 19:48 UTC] borishim at hotmail dot com
[2005-05-11 13:59 UTC] olivier at oxeva dot fr
[2005-05-17 09:40 UTC] weecka at stablebeast dot com
[2005-06-16 21:31 UTC] derick@php.net
[2005-06-17 00:51 UTC] pmurray at nevada dot net dot nz
[2005-06-18 21:44 UTC] derick@php.net
[2005-06-26 01:00 UTC] php-bugs at lists dot php dot net
[2005-06-27 15:24 UTC] arpad at zooloo dot com
[2005-06-29 14:46 UTC] derick@php.net
[2005-06-29 20:35 UTC] derick@php.net
[2005-06-30 02:45 UTC] pmurray at nevada dot net dot nz
[2005-06-30 08:26 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 17:00:02 2025 UTC |
Description: ------------ When using strtotime(), it returns a bogus timestamp instead of -1. Gentoo 64bit (Opteron) 2004.2, Glibc 2.3.4, PHP 4.3.8; strtotime(time()) returns 3396548642400 Gentoo 32bit (Pentium 4) 2004.2, Glibc 2.3.3, PHP 4.3.8 returns -1 FreeBSD 32bit, PHP 4.3.8 and 5.0.1 returns -1 This causes the examples in the date_format modifier page in the Smarty documentation to fail. IE {$smarty.now|date_format:"%Y"} Could this be related to being on a 64bit platform? Reproduce code: --------------- strtotime(time()); Expected result: ---------------- Return -1 Actual result: -------------- Return 3396548642400