PHP 7.2.0 Beta 3 Released


(PECL svn >= 0.4.0)

svn_mkdirCreates a directory in a working copy or repository


bool svn_mkdir ( string $path [, string $log_message ] )

Creates a directory in a working copy or repository.

Elenco dei parametri


The path to the working copy or repository.

Valori restituiti

Restituisce TRUE in caso di successo, FALSE in caso di fallimento.

Vedere anche:

  • svn_add() - Schedules the addition of an item in a working directory
  • svn_copy()

add a note add a note

User Contributed Notes 1 note

ckozler at ckozler dot net
5 years ago
I would just like to note that there is either an error in the documentation or a bug in the code. When you run svn_mkdir it returns FALSE even on success. As an example you can do


( svn_mkdir( "/path/to/your/repo/mydir" ) );


And youll see that the output is

To Top