added comments in PHP and README.md