Many time we will be interested in knowing what is the version of php running at our server. This information is available in php info file. But we can't use the value of php version by taking it from php info , so we will be using a constant PHP_VERSION to know the details about php running at the server.