Testing for PHP and serve the pet battle