Added comments to PHP code.