note 120264 added to class.datetime

From: Date: Fri, 02 Dec 2016 18:09:00 +0000
Subject: note 120264 added to class.datetime
Groups: php.notes 
Request: Send a blank email to php-notes+get-207959@lists.php.net to get a copy of this message
At PHP 7.1 the DateTime constructor incorporates microseconds when constructed from the current time. Make your comparisons carefully, since two DateTime objects constructed one after another are now more likely to have different values. http://php.net/manual/en/migration71.incompatible.php ---- Server IP: 72.52.91.14 Probable Submitter: 98.169.66.145 ---- Manual Page -- http://php.net/manual/en/class.datetime.php Edit -- https://master.php.net/note/edit/120264 Del: integrated -- https://master.php.net/note/delete/120264/integrated Del: useless -- https://master.php.net/note/delete/120264/useless Del: bad code -- https://master.php.net/note/delete/120264/bad+code Del: spam -- https://master.php.net/note/delete/120264/spam Del: non-english -- https://master.php.net/note/delete/120264/non-english Del: in docs -- https://master.php.net/note/delete/120264/in+docs Del: other reasons-- https://master.php.net/note/delete/120264 Reject -- https://master.php.net/note/reject/120264 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#207959) next »