Use "elseif" instead of "else if" in PHP

Per https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#C_borrowings

Change-Id: I5e3a301c2f3c5ec6b965500c43d16022b8b82e59
Merge "Use "elseif" instead of "else if" in PHP"