92ac598aab
This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file. |
||
---|---|---|
appveyor | ||
build | ||
ext | ||
main | ||
pear | ||
sapi | ||
scripts | ||
tests | ||
travis | ||
TSRM | ||
win32 | ||
Zend | ||
.appveyor.yml | ||
.editorconfig | ||
.gdbinit | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
acinclude.m4 | ||
buildconf | ||
buildconf.bat | ||
CODING_STANDARDS | ||
configure.ac | ||
CONTRIBUTING.md | ||
CREDITS | ||
EXTENSIONS | ||
genfiles | ||
header | ||
INSTALL | ||
LICENSE | ||
makedist | ||
Makefile.gcov | ||
Makefile.global | ||
NEWS | ||
php7.spec.in | ||
php.gif | ||
php.ini-development | ||
php.ini-production | ||
README.EXT_SKEL | ||
README.GIT-RULES | ||
README.input_filter | ||
README.MAILINGLIST_RULES | ||
README.md | ||
README.NEW-OUTPUT-API | ||
README.PARAMETER_PARSING_API | ||
README.REDIST.BINS | ||
README.RELEASE_PROCESS | ||
README.SELF-CONTAINED-EXTENSIONS | ||
README.STREAMS | ||
README.SUBMITTING_PATCH | ||
README.UNIX-BUILD-SYSTEM | ||
README.WIN32-BUILD-SYSTEM | ||
run-tests.php | ||
snapshot | ||
UPGRADING | ||
UPGRADING.INTERNALS | ||
vcsclean |
The PHP Interpreter
This is the github mirror of the official PHP repository located at https://git.php.net.
Pull Requests
PHP accepts pull requests via github. Discussions are done on github, but depending on the topic can also be relayed to the official PHP developer mailing list internals@lists.php.net.
New features require an RFC and must be accepted by the developers. See https://wiki.php.net/rfc and https://wiki.php.net/rfc/voting for more information on the process.
Bug fixes do not require an RFC, but require a bugtracker ticket. Always open a ticket at https://bugs.php.net and reference the bug id using #NNNNNN.
Fix #55371: get_magic_quotes_gpc() throws deprecation warning
After removing magic quotes, the get_magic_quotes_gpc function caused
a deprecate warning. get_magic_quotes_gpc can be used to detected
the magic_quotes behavior and therefore should not raise a warning at any
time. The patch removes this warning
We do not merge pull requests directly on github. All PRs will be pulled and pushed through https://git.php.net.
Guidelines for contributors
Testing
To run tests the make test
is used after successful compilation of the sources.
See Creating new test files chapter for more information about testing.