Update test2.php

Committed the modified code.