Update test1.php

Committed for simplified the code.