array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.svn-client-version.php', 1 => 'svn_client_version', 2 => 'Returns the version of the SVN client libraries', ), 'up' => array ( 0 => 'ref.svn.php', 1 => 'SVN 函数', ), 'prev' => array ( 0 => 'function.svn-cleanup.php', 1 => 'svn_cleanup', ), 'next' => array ( 0 => 'function.svn-commit.php', 1 => 'svn_commit', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/svn/functions/svn-client-version.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

svn_client_version

(PECL svn >= 0.1.0)

svn_client_versionReturns the version of the SVN client libraries

说明

svn_client_version(): string

Returns the version of the SVN client libraries

参数

此函数没有参数。

返回值

String version number, usually in form of x.y.z.

示例

示例 #1 Basic example

<?php
echo svn_client_version();
?>

以上示例的输出类似于:

1.3.1

注释

警告

此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担。