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


Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.