The PHP Interpreter https://www.php.net
Find a file
Christoph M. Becker 1acac320c5 Clean up server-tests.php remains
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>
2018-11-23 16:24:51 +01:00
appveyor Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
build ext/gd: Use pkg-config to detect the availability of freetype2 2018-11-07 13:05:47 +01:00
ext Don't preload functions and classes declared outside of preloaded scripts (e.g. by eval code). 2018-11-23 03:59:47 +03:00
main Remove redundant continue in for loops 2018-11-20 21:23:24 +01:00
pear Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
sapi Clean up server-tests.php remains 2018-11-23 16:24:51 +01:00
scripts ext/gd: Use pkg-config to detect the availability of freetype2 2018-11-07 13:05:47 +01:00
tests Remove some mentions of RECOVERABLE_ERROR in tests 2018-11-15 22:13:46 +01:00
travis Use new option name in travis/compile.sh 2018-11-07 20:22:41 +01:00
TSRM Future-proof email addresses 2018-11-01 18:35:32 +02:00
win32 Future-proof email addresses 2018-11-01 18:35:32 +02:00
Zend Remove unecessaries SKIPIF sections for necessary extensions 2018-11-21 08:08:09 -02:00
.appveyor.yml Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
.editorconfig Update .editorconfig with some more configs 2017-10-19 11:53:37 +01:00
.gdbinit Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
.gitattributes Fix .gitattributes 2018-10-20 22:58:27 +02:00
.gitignore Remove lexer files generated by RE2C 2018-11-11 02:55:46 +01:00
.travis.yml Run CI tests under opcache.protect_memory=1 2018-10-17 16:10:47 +02:00
acinclude.m4 ext/gd: Use pkg-config to detect the availability of freetype2 2018-11-07 13:05:47 +01:00
buildconf Merge branch 'PHP-7.2' into PHP-7.3 2018-10-20 09:54:00 +02:00
buildconf.bat Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
CODING_STANDARDS Move all testing docs to qa.php.net 2018-10-18 08:01:22 +02:00
config.guess Fix #76137: config.guess/config.sub do not recognize RISC-V 2018-05-25 15:20:25 +02:00
config.sub Fix #76137: config.guess/config.sub do not recognize RISC-V 2018-05-25 15:20:25 +02:00
configure.ac Bump for 7.2.14 2018-11-20 14:40:21 -05:00
CONTRIBUTING.md Move all testing docs to qa.php.net 2018-10-18 08:01:22 +02:00
CREDITS Update http to https 2018-06-25 08:31:32 +02:00
EXTENSIONS Future-proof email addresses 2018-11-01 18:35:32 +02:00
footer Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
genfiles Remove lexer files generated by RE2C 2018-11-11 02:55:46 +01:00
header Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
INSTALL Update http to https 2018-06-25 08:31:32 +02:00
LICENSE Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
ltmain.sh
makedist Merge branch 'PHP-7.2' into PHP-7.3 2018-10-20 09:54:00 +02:00
Makefile.gcov Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
Makefile.global Remove stamp-h 2018-10-18 08:35:43 +02:00
NEWS Fixed bug #77088 (Segfault when using SoapClient with null options) 2018-11-21 11:30:32 +08:00
php.gif
php.ini-development Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
php.ini-production Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
php7.spec.in
README.EXT_SKEL Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
README.GIT-RULES Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
README.input_filter Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
README.MAILINGLIST_RULES
README.md Move all testing docs to qa.php.net 2018-10-18 08:01:22 +02:00
README.NEW-OUTPUT-API Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
README.PARAMETER_PARSING_API Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
README.REDIST.BINS Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
README.RELEASE_PROCESS Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
README.SELF-CONTAINED-EXTENSIONS [ci skip] Remove automake and aclocal in comments 2018-10-21 13:06:58 +02:00
README.STREAMS Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
README.SUBMITTING_PATCH Move all testing docs to qa.php.net 2018-10-18 08:01:22 +02:00
README.UNIX-BUILD-SYSTEM [ci skip] Remove automake and aclocal in comments 2018-10-21 13:06:58 +02:00
README.WIN32-BUILD-SYSTEM Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
run-tests.php Clean up server-tests.php remains 2018-11-23 16:24:51 +01:00
snapshot
UPGRADING Merge branch 'PHP-7.2' into PHP-7.3 2018-11-20 11:20:45 -08:00
UPGRADING.INTERNALS Fix a typo in UPGRADING.INTERNALS 2018-10-17 21:14:46 -04:00
vcsclean

The PHP Interpreter

This is the github mirror of the official PHP repository located at https://git.php.net.

Build Status Build status

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.