Fix PHP strict messages