(PECL svn >= 0.3.0)
svn_revert — Revert changes to the working copy
svn_revert ( string $path [, bool $recursive = false ] ) : bool
Revert any local changes to the path in a working copy.
path
The path to the working repository.
recursive
Optionally make recursive changes.
Returns true
on success or false
on failure.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.svn-revert.php