php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78524 The zone element of the array is also changed for date_parse in 7.2
Submitted: 2019-09-10 09:19 UTC Modified: 2019-10-13 16:25 UTC
From: jochem dot blok at fasterforward dot nl Assigned: cmb (profile)
Status: Closed Package: Date/time related
PHP Version: Irrelevant OS: Ubuntu 18.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
49 + 30 = ?
Subscribe to this entry?

 
 [2019-09-10 09:19 UTC] jochem dot blok at fasterforward dot nl
Description:
------------
---
From manual page: https://php.net/migration72.incompatible
---
The zone element of the array is also changed for date_parse.

Test script:
---------------
print_r(date_parse ( '01-01-2010 12:00+01:00') );


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-09-10 09:24 UTC] requinix@php.net
-Summary: The zone element of the array is also changed for date_parse +Summary: The zone element of the array is also changed for date_parse in 7.2 -Status: Open +Status: Verified -Package: Unknown/Other Function +Package: Date/time related
 [2019-09-10 09:24 UTC] requinix@php.net
Also missing from the function's changelog.
 [2019-10-13 16:24 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=348153
Log: Fix #78524: The zone element of the array is also changed for date_parse in 7.2
 [2019-10-13 16:25 UTC] salathe@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=b36e6ef30429afa127d9cc8b21682ce6c156f558
Log: Fix #78524: The zone element of the array is also changed for date_parse in 7.2
 [2019-10-13 16:25 UTC] salathe@php.net
-Status: Verified +Status: Closed
 [2019-10-13 16:25 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2019-10-13 16:25 UTC] 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.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Nov 17 11:01:34 2019 UTC