xref: /PHP-7.1/ext/date/tests/bug67109.phpt (revision 6da2a977)
1--TEST--
2Bug #67109 (First uppercase letter breaks date string parsing)
3--INI--
4date.timezone=UTC
5--FILE--
6<?php
7var_dump(date('d.m.Y',strtotime('last day of april')));
8var_dump(date('d.m.Y',strtotime('Last day of april')));
9var_dump(date('d.m.Y',strtotime('lAst Day of April')));
10?>
11--EXPECTF--
12string(10) "30.04.%d"
13string(10) "30.04.%d"
14string(10) "30.04.%d"
15