Check for string initialization in lcfirst() for HHVM 3.18
authorAntoine Musso <hashar@free.fr>
Fri, 24 Mar 2017 14:19:36 +0000 (15:19 +0100)
committerAntoine Musso <hashar@free.fr>
Fri, 24 Mar 2017 14:19:36 +0000 (15:19 +0100)
commit1819a85bed4738ddd8e716b03acb3b2dff12e570
tree65c04730e762f124731e0da5531ba4347c35a836
parent6492a166afdf57f965edc1e1f10c1f3dbe644d9f
Check for string initialization in lcfirst() for HHVM 3.18

HHVM 3.18 emits a notice when attempting to access the first offset of
an empty string.  We had that fixed for ucfirst() in 3605066c96. This is
the same for lcfirst().

Bug: T161095
Change-Id: I1456611222c24290f259298e883ca89dd830c74b
languages/classes/LanguageKk.php