(PECL svn >= 0.3.0)
svn_blame — Get the SVN blame for a file
Get the SVN blame of a file from a repository URL.
repository_url
The repository URL.
revision_no
The revision number.
An array of SVN blame information separated by line which includes the revision number, line number, line of code, author, and date.
Example #1 svn_blame() example
<?php
$svnurl = 'http://svn.example.org/svnroot/foo/trunk/index.php';
print_r( svn_blame($svnurl) );
?>
The above example will output something similar to:
Array ( [0] = Array ( [rev] = 1 [line_no] = 1 [line] = Hello World [author] = joesmith [date] = 2007-07-02T05:51:26.628396Z ) [1] = Array ...
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant