Convert to string without latest PHP complaining