|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-06-17 18:24 UTC] cmb@php.net
-Status: Open
+Status: Feedback
[2015-06-17 18:24 UTC] cmb@php.net
[2015-06-28 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 20:00:01 2025 UTC |
Description: ------------ $sd = mktime(12,0,0,$mois, $jour, $annee); if ($sd < 1360731600) { include("agenda_paiement_vieux.php"); } else { include("agenda_paiement_nouv.php"); } 6 février 2013 (unix time) fonctionne si $sd = 1360170000 ALL ok ! 7 février 2013 (unix time) ne fonctionne pas si $sd = 1360256400 do not work 11 février 2013 (unix time) fonctionne si $sd = 1360731600 ALL ok! It seems to be an hole is the serie ?? machine is 32 bit running OSX 10.7.5 Lion and same problem with machine is 32 bit running Win/XP Thank you and goodnite. Michel Test script: --------------- $sd = mktime(12,0,0,$mois, $jour, $annee); if ($sd < 1360731600) { include("agenda_paiement_vieux.php"); } else { include("agenda_paiement_nouv.php"); } Expected result: ---------------- Expecting: TRUE going to sub-routine agenda_paiement_vieux.php when $sd=1360256400 Actual result: -------------- False going to sub-routine agenda_paiement_nouv.php when $sd=1360256400