|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2020-01-30 18:20 UTC] fullershane9376 at gmail dot com dot com
Description:
------------
Incorrect output from specific input
Test script:
---------------
strtoupper(date("M", mktime(0, 0, 0, 2, $cur_date, $four_digit_year)));
Expected result:
----------------
expected result FEB
Actual result:
--------------
actual result MAR
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 06:00:02 2025 UTC |
<? php $abrv_month = strtoupper(date("M", mktime(0, 0, 2, $numeric_month, $cur_date, $four_digit_year))); echo "$abrv_month"; ?>