1 --- vim72/runtime/scripts.vim~ 2008-10-09 03:12:50.000000000 +0300
2 +++ vim72/runtime/scripts.vim 2008-10-09 03:12:54.703954160 +0300
4 elseif s:line1 =~ '^\x\{7}: \x\{2} \=\x\{2} \=\x\{2} \=\x\{2} '
8 + elseif s:line1 =~ '^<?php'
12 elseif s:line1 =~ '^RCS file:' || s:line2 =~ '^RCS file:'
14 --- vim73/runtime/filetype.vim~ 2010-10-31 13:26:19.000000000 +0200
15 +++ vim73/runtime/filetype.vim 2010-10-31 13:27:17.615314321 +0200
17 " Php, php3, php4, etc.
18 " Also Phtml (was used for PHP 2 in the past)
19 " Also .ctp for Cake template file
20 -au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp setf php
21 +" Also .phpt for PHP Test files
22 +au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp,*.phpt setf php
25 au BufNewFile,BufRead *.pike,*.lpc,*.ulpc,*.pmod setf pike