👋 Hello! I'm Alphonsio the robot. Ask me a question, I'll try to answer.

php version

There are several ways to get the PHP version installed:

  • Command line : the command php -v displays the current PHP version.
  • PHP function : the PHP function phpversion() returns a string with the current PHP version.
  • PHP info : the PHP function phpinfo() outputs information about PHP's configuration and versions.