Update compare.php

Modify variable and function descriptions