![]() sapi/tests/ has been introduced as a generic means to test different SAPIs[1]. run-tests2.php has later be renamed to server-tests.php and recently been dropped[2]. However, the sapi/tests/test00?.php test cases remained, even though they make no sense for run-tests.php, since they use an unsupported format for the `--ENV--` section and the completely unsupported `--HEADERS--` section, respectively. While these tests ran successfully under run-tests.php, that was only by accident, and they did not really test something useful. Therefore, we remove these tests altogether. sapi/tests/bug69487.phpt is actually a CGI test (CGI is enforced due to the `--POST--` section), so we move it to sapi/cgi/tests, which leaves sapi/tests/ empty. Thus, we also remove the sapi/ directory from run-tests.php. Finally, we remove the `--HEADERS--` and `--REQUEST--` sections from the list of allowed run-tests.php sections. [1] <http://git.php.net/?p=php-src.git;a=commit;h=b671380b6b5b6e1f4f235e810afa4199e989d2ba> [2] <http://git.php.net/?p=php-src.git;a=commit;h=4f36acb9e65935aa657f1f22e2320a401bdbdad3> |
||
---|---|---|
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 | ||
config.guess | ||
config.sub | ||
configure.ac | ||
CONTRIBUTING.md | ||
CREDITS | ||
EXTENSIONS | ||
footer | ||
genfiles | ||
header | ||
INSTALL | ||
LICENSE | ||
ltmain.sh | ||
makedist | ||
Makefile.gcov | ||
Makefile.global | ||
NEWS | ||
php.gif | ||
php.ini-development | ||
php.ini-production | ||
php7.spec.in | ||
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.