PEP8 compliance; added some PHP code