php55 compatibility