php copy-paste scoring