[wp-trac] [WordPress Trac] #22194: PHP x64 compatibility issue with date values

WordPress Trac noreply at wordpress.org
Wed Apr 20 23:48:37 UTC 2016


#22194: PHP x64 compatibility issue with date values
--------------------------------------+------------------------------
 Reporter:  Whissi                    |       Owner:  pento
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Date/Time                 |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  dev-feedback needs-patch  |     Focuses:
--------------------------------------+------------------------------

Comment (by pbearne):

 yes is going to touch a lot of code

 Are we going to "fix" the schema and set null for no date?

 or

 test for 64bit system and then look for ????

 strtotime("0000-00-00 00:00:00") returns FALSE on a 32 bit system.
 strtotime("0000-00-00 00:00:00") returns -62169955200 on a 64 bit system.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22194#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list