Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<svn_repos_recoversvn_status>
^SVN FunctionsLast updated: Mon, 26 Oct 2026

svn_revert

(PECL svn >= 0.3.0)

svn_revert — Revert changes to the working copy

Description

function svn_revert(string $path, bool $recursive = false): bool

Revert any local changes to the path in a working copy.

Parameters

path

The path to the working repository.

recursive

Optionally make recursive changes.

Return Values

Returns true on success or false on failure.

See Also


<svn_repos_recoversvn_status>
^SVN FunctionsLast updated: Mon, 26 Oct 2026