Use PHP_VERSION constant instead of phpversion() function call

Change-Id: Ifb3d1bd92d6abaa561e7337b311b4cb10c38a2b6
Merge "Use PHP_VERSION constant instead of phpversion() function call"