How do I get PHP version?

Local PHP Version Open the Command Prompt or Terminal. If you have PHP installed locally, you can use the Command Prompt or Terminal to check the version. Enter the command to check the PHP version. When you run the command, the installed version of PHP will be displayed. Fix the version not appearing in Windows.
For More Information Please Refer:

You May Also Like to Read: