|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-05-11 00:41 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 00:00:01 2025 UTC |
Description: ------------ An example is better than any explanation: In 64 bits system : var_dump(strtotime("1115418006")) returns int(3457934838000) In 32 bits system : var_dump(strtotime("1115418006")) returns int(-1) I know that it SHOULD return -1, but returning 3457934838000 is absolutely false. The result differs, wether we are in a 32 bits system or on a 64 bits. Reproduce code: --------------- <?php // This works on 64bits system, with PHP compiled in 64bits too var_dump(strtotime("1115418006")); Expected result: ---------------- echoes : int(-1) Actual result: -------------- int(3457934838000)