PHP 매뉴얼
이전 |  | 다음

# phpversion

(PHP 3, PHP 4 , PHP 5)

phpversion -- Gets the current PHP version

## Description

string phpversion ( void )

Returns a string containing the version of the currently running PHP parser.

> 참고: This information is also available in the predefined constant `PHP_VERSION`.

예 1. phpversion() example

`<?php // prints e.g. 'Current PHP version: 4.1.1' echo 'Current PHP version: ' . phpversion(); ?>`

See also version_compare(), phpinfo(), phpcredits(), php_logo_guid(), and zend_version().

이전 | 처음으로 | 다음
phpinfo | 위로 | putenv