Doc #69499 [NEW]: DateTime::createFromFormat() documentation doesn't mention that '+' (and '|') modifiers were not available in older releases

From: Date: Tue, 21 Apr 2015 20:19:24 +0000
Subject: Doc #69499 [NEW]: DateTime::createFromFormat() documentation doesn't mention that '+' (and '|') modifiers were not available in older releases
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12221@lists.php.net to get a copy of this message
From: antrik at users dot sf dot net Operating system: PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:DateTime::createFromFormat() documentation doesn't mention that '+' (and '|') modifiers were not available in older releases Description: ------------ --- From manual page: http://www.php.net/datetime.createfromformat --- The manual page doesn't mention anywhere that the '+' and '|' modifiers are not available in older PHP versions, including at least 5.3.3. (There is a user-contributed note mentioning that '|' works starting with 5.3.7 -- might be same for '+'?.) This should be mentioned in the descriptions of these modifiers, and/or in the changelog. It cost us several hours figuring out why our code fails mysteriously for one of our users... -- Edit bug report at https://bugs.php.net/bug.php?id=69499&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69499&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69499&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69499&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=69499&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=69499&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=69499&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=69499&r=needscript Try newer version: https://bugs.php.net/fix.php?id=69499&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=69499&r=support Expected behavior: https://bugs.php.net/fix.php?id=69499&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=69499&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=69499&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=69499&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69499&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=69499&r=dst IIS Stability: https://bugs.php.net/fix.php?id=69499&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=69499&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=69499&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=69499&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=69499&r=mysqlcfg

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