reverting pretty php