From 31af10a4a2591cf2f5ec04c599de5652cf159aa8 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Sun, 9 Sep 2018 15:42:19 +0000 Subject: [PATCH] Fix #76838: date_parse_from_format() changed meaning of zone value in PHP 7.2 -> BC break git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345615 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/migration72/incompatible.xml | 11 ++++++++ .../functions/date-parse-from-format.xml | 26 ++++++++++++++++++- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/appendices/migration72/incompatible.xml b/appendices/migration72/incompatible.xml index ec4fd9fa0d..d49ee2279f 100644 --- a/appendices/migration72/incompatible.xml +++ b/appendices/migration72/incompatible.xml @@ -318,6 +318,17 @@ int(2) The sql.safe_mode ini setting has now been removed. + + + Changes to <function>date_parse_from_format</function> + + + The zone element of the array returned by + date_parse_from_format represents seconds instead of + minutes now, and its sign is inverted. For instance -120 + is now 7200. + +