| 
 
update : 2015.11.03
 
php.shukuma.com검색:
  
 | 
svn_ls(PECL svn >= 0.1.0) svn_ls — Returns list of directory contents in repository URL, optionally at revision number 설명
   array svn_ls
    ( string  
  $repos_url
   [, int $revision_no = SVN_REVISION_HEAD
   [, bool $recurse = false
   [, bool $peg = false
  ]]] )
   This function queries the repository URL and returns a list of
   files and directories, optionally from a specific revision. This
   is equivalent to  
 인수
 
 반환값On success, this function returns an array file listing in the format of: [0] => Array
    (
        [created_rev] => integer revision number of last edit
        [last_author] => string author name of last edit
        [size] => integer byte file size of file
        [time] => string date of last edit in form 'M d H:i'
                  or 'M d Y', depending on how old the file is
        [time_t] => integer unix timestamp of last edit
        [name] => name of file/directory
        [type] => type, can be 'file' or 'dir'
    )
[1] => ...
주의Warning 
 이 함수는 실험적입니다. 이 함수의 작동, 함수의 이름, 그리고 관련된 모든 문서는 이후의 PHP 릴리즈에서 예고 없이 변경할 수 있습니다. 이 함수의 사용에 관한 것은 사용자 책임입니다. 예제
 Example #1 svn_ls() example 
<?php위 예제의 출력 예시: 
Array
(
    [0] => Array
        (
            [created_rev] => 20
            [last_author] => Joe
            [size] => 0
            [time] => Apr 02 09:28
            [time_t] => 1175520529
            [name] => tags
            [type] => dir
        )
    [1] => Array
        (
            [created_rev] => 23
            [last_author] => Bob
            [size] => 0
            [time] => Apr 02 15:15
            [time_t] => 1175541322
            [name] => trunk
            [type] => dir
        )
)
 |