|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-11-18 12:47 UTC] rquadling@php.net
[2009-11-18 13:21 UTC] svn@php.net
[2009-11-18 13:22 UTC] rquadling@php.net
[2020-02-07 06:09 UTC] phpdocbot@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 23:00:01 2026 UTC |
Description: ------------ please add to the documentation for strftime(), that for unsupported conversion specifiers, the conversion might fail completely and return an empty string. on linux: echo "x" . strftime("%m %C") . "x"; > "xNovember 09x" on windows: echo "x" . strftime("%m %C") . "x"; > "xx" and NOT as expected "xNovember x" with just the second conversion missing. ideally, the conversion specifier list could list if it's available on a specific platform. for people porting code from win to linux, this is a cruicial issue... thanks & keep up the great work! Reproduce code: --------------- --- From manual page: function.strftime#Description --- see description Expected result: ---------------- see description