|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-02-02 14:19 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Feb 07 21:00:01 2026 UTC |
Description: ------------ When strptime() is used with %y in format, it returns an invalid Year in tm_year. Reproduce code: --------------- $test = strptime('02-Feb-09 11:16:00', '%d-%b-%y %H:%M:%S'); echo $test['tm_year']; Expected result: ---------------- 2009 Actual result: -------------- 109