fixup PHP upgrade error

See https://ellislab.com/forums/viewthread/244510/