Home  >  Article  >  Backend Development  >  What does php version mean?

What does php version mean?

藏色散人
藏色散人Original
2019-10-18 10:36:434343browse

What does php version mean?

What does php version mean?

The php version is phpversion, which is a built-in function of php.

phpversion() Function: Get the current PHP version

Syntax:

string phpversion ([ string $extension ] )

Parameters:

extension Optional extension.

Description: Returns a string containing information about the currently running PHP interpreter or extension version.

php phpversion() function usage example

<?php
echo phpversion();
?>

Output:

7.0.8

For more PHP related knowledge, please visit PHP Chinese website!

The above is the detailed content of What does php version mean?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn