To show the version of the package that will be installed with apt-get install, do apt-cache policy packagename. To show the currently available version(s) of PHP5, do:

apt-cache policy php5