Vim Tips Wiki


1,623pages on
this wiki
Add New Page
Add New Page Talk0

Use this page to discuss script 2874 php: PHP syntax file for PHP 5.3

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.

Making array of extensionsEdit

To produce the array of extensions to include when generating the personalized php.vim file, the following steps may be taken:

  • Open a page on the server that calls the phpinfo() function.
  • Save the generated HTML source code to phpinfo.html.
  • Run this command: grep name="module phpinfo.html > phpinfo-modules.html
  • Open phpinfo-modules.html with Vim.
  • Enter the following commands in Vim to transform the filtered file into array values:
:%s/\ //g


Also on Fandom

Random Wiki