Simplify the PHP