File: cvsrev.php

package info (click to toggle)
php-doc 20081024-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 57,752 kB
  • ctags: 3,858
  • sloc: xml: 686,554; php: 19,446; perl: 610; cpp: 500; makefile: 336; sh: 114; awk: 28
file content (16 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

# add cvs Revision: tags where missing

function apply($input) {
	if( strstr($input, '$Revision: ')) {
		return false;
	}

	list($head, $rest) = explode("\n", $input, 2);

	return $head."\n".'<!-- $Revision: 1.1 $ -->'."\n".$rest;
}

?>