Doc #76838 [Com]: date_parse_from_format() changed meaning of zone value in PHP 7.2 -> BC break

From: Date: Mon, 10 Sep 2018 11:12:43 +0000
Subject: Doc #76838 [Com]: date_parse_from_format() changed meaning of zone value in PHP 7.2 -> BC break
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-15981@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76838&edit=1 ID: 76838 Comment by: me at vasekpurchart dot cz Reported by: me at vasekpurchart dot cz Summary: date_parse_from_format() changed meaning of zone value in PHP 7.2 -> BC break Status: Closed Type: Documentation Problem Package: Date/time related PHP Version: 7.2.9 Assigned To: cmb Block user comment: N Private report: N New Comment: Thank you for resolving this so quickly and documenting the change. Previous Comments: ------------------------------------------------------------------------ [2018-09-09 15:43:23] cmb@php.net This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. ------------------------------------------------------------------------ [2018-09-09 15:42:21] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=345615 Log: Fix #76838: date_parse_from_format() changed meaning of zone value in PHP 7.2 -&gt; BC break ------------------------------------------------------------------------ [2018-09-09 15:10:16] cmb@php.net Thanks, Derick! ------------------------------------------------------------------------ [2018-09-09 15:01:13] derick@php.net It was intentional, and should be in the docs and in the upgrading guide. ------------------------------------------------------------------------ [2018-09-09 14:53:37] cmb@php.net The behavioral change has been introduced by commit a063d55[1] (which later has been reverted for branches lower than PHP-7.2). I assume that the change is intentional, and I'm not sure whether it constitutes a BC break, since the DateTime properties might be regarded as private (what would have to be documented). [1] <http://git.php.net/?p=php-src.git;a=commit;h=a063d55395c818c401b7efdf6b42b4728ce3df08> ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=76838 -- Edit this bug report at https://bugs.php.net/bug.php?id=76838&edit=1

« previous php.doc.bugs (#15981) next »