php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64588 Missing Documentation of Escape Sequence
Submitted: 2013-04-05 07:52 UTC Modified: 2016-06-14 12:01 UTC
From: bernhard dot berger at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.4.13 OS: -
Private report: No CVE-ID: None
 [2013-04-05 07:52 UTC] bernhard dot berger at gmail dot com
Description:
------------
The documentation of the DateTime::createDateFromFormat is missing a hint on how 
to escape unwanted characters from a sequence.

e.g. if I'd want to parse this string: '23h 15m 03s' i'd had to escape 'h', 'm' 
and 's'.

So I think it should be documented how to accomplish that.

---
From manual page: http://www.php.net/datetime.createfromformat
---


Expected result:
----------------
Information on how to correctly escape unwanted characters from the string to 
parse.

Actual result:
--------------
no documentation at all

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-06-14 11:59 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=339343
Log: Fix #64588: Missing Documentation of Escape Sequence
 [2016-06-14 12:01 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2016-06-14 12:01 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.
 [2020-02-07 06:07 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=b824148e7a9bf62e47041e133ac46a8f37b1c6cd
Log: Fix #64588: Missing Documentation of Escape Sequence
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 12:00:01 2026 UTC