|
svn_checkoutChecks out a working copy from the repository Beschreibung
bool svn_checkout
( string
$repos
, string $targetpath
[, int $revision
[, int $flags = 0
]] )
Checks out a working copy from the repository at Parameter-Liste
Rückgabewerte
Gibt bei Erfolg AnmerkungenWarnung
Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko. Beispiele
Beispiel #1 Basic example This example demonstrates how to check out a directory from a repository to a directory named calc:
<?phpThe dirname(__FILE__) call is necessary in order to convert the calc relative path into an absolute one. If calc exists, you can also use realpath to retrieve an absolute path. |