PHP 8.3.4 Released!

svn_delete

(PECL svn >= 0.4.0)

svn_deleteDelete items from a working copy or repository

Descrição

svn_delete(string $path, bool $force = false): bool

Deletes the file, directory or symbolic link at path from the working directory. The item will be deleted from the repository the next time you call svn_commit() on the working copy.

Parâmetros

path

Path of item to delete.

Nota: Os caminhos relativos serão resolvidos como se o diretório de trabalho atual fosse aquele que contém o binário do PHP. Para usar o diretório de trabalho do script de chamada, use realpath() ou dirname(__FILE__).

force

If true, the file will be deleted even if it has local modifications. Otherwise, local modifications will result in a failure. Default is false

Valor Retornado

Retorna true em caso de sucesso ou false em caso de falha.

Notas

Aviso

Esta função é EXPERIMENTAL. O comportamento desta função, seu nome e documentação poderão mudar sem aviso prévio em futuras versões do PHP. Use por sua conta e risco.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top