The PHP Interpreter
Go to file
Christoph M. Becker 2d3d72412a Fix #77423: parse_url() will deliver a wrong host to user
To avoid that `parse_url()` returns an erroneous host, which would be
valid for `FILTER_VALIDATE_URL`, we make sure that only userinfo which
is valid according to RFC 3986 is treated as such.

For consistency with the existing url parsing code, we use ctype
functions, although that is not necessarily correct.
2021-01-01 20:08:01 -08:00
appveyor Fix var name 2019-05-31 20:49:42 +02:00
build Merge branch 'PHP-7.1' into PHP-7.2 2018-10-20 09:51:22 +02:00
ext Fix #77423: parse_url() will deliver a wrong host to user 2021-01-01 20:08:01 -08:00
main bump version to 7.2.35-dev 2020-09-30 07:36:59 +02:00
pear Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
sapi Added environment LSAPI_CLEAN_SHUTDOWN to control clean shutdown. Update SAPI version to LiteSpeed v7.6 . 2019-11-21 17:57:50 -05:00
scripts Merge branch 'PHP-7.1' into PHP-7.2 2018-10-19 00:07:42 +02:00
tests Do not decode cookie names anymore 2020-09-26 23:47:04 -07:00
travis Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
TSRM Fix #78282: atime and mtime mismatch 2019-08-06 17:25:54 +02:00
win32 Fix erroneous assertions 2019-05-09 16:54:11 +02:00
Zend Fix $x = (bool)$x; for undefined with opcache 2019-11-18 11:24:03 +03:00
.appveyor.yml Update SDK version for AppVeyor 2019-08-27 13:34:35 +02:00
.editorconfig Extend wildcard files section in EditorConfig [ci skip] 2019-06-09 22:53:58 +02:00
.gdbinit Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
.gitattributes Remove ident gitattribute for ext/zip/php_zip.c 2017-10-03 07:14:50 +01:00
.gitignore Merge branch 'PHP-7.1' into PHP-7.2 2018-10-19 00:07:42 +02:00
.travis.yml Merge branch 'PHP-7.1' into PHP-7.2 2018-12-02 16:04:33 -08:00
acinclude.m4 Use ICU's CXXFLAGS when using pkg-config 2019-10-23 11:17:37 +02:00
buildconf Merge branch 'PHP-7.1' into PHP-7.2 2018-10-20 09:51:22 +02:00
buildconf.bat Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
CODING_STANDARDS Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
config.guess Update config.guess and config.sub 2014-12-04 17:56:20 +00:00
config.sub Remove Netware support 2016-11-12 11:20:01 +01:00
configure.ac bump version to 7.2.35-dev 2020-09-30 07:36:59 +02:00
CONTRIBUTING.md Update CONTRIBUTING 2017-04-02 13:45:08 +02:00
CREDITS
EXTENSIONS Trim trailing whitespace in source code files 2018-10-13 14:12:55 +02:00
footer Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
genfiles Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
header year++ 2018-01-02 12:55:14 +08:00
INSTALL remove description for apache 1.3 2016-04-05 12:13:38 +02:00
LICENSE Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
ltmain.sh
makedist Merge branch 'PHP-7.1' into PHP-7.2 2018-10-20 09:51:22 +02:00
Makefile.frag Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
Makefile.gcov Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
Makefile.global Revert "Fix #77609: Tests from mailparse extension fails" 2019-03-20 11:54:27 +01:00
NEWS bump version to 7.2.35-dev 2020-09-30 07:36:59 +02:00
php7.spec.in Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
php.gif
php.ini-development comment out sqlite3.defensive = 1 2019-03-19 16:26:26 +01:00
php.ini-production Fix #76577: outdated documentation concerning track_errors 2019-09-02 15:05:01 +02:00
README.EXT_SKEL Sync leading and final newlines in source code files 2018-10-14 12:54:08 +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:14:50 +02:00
README.MAILINGLIST_RULES
README.md Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
README.NEW-OUTPUT-API Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
README.PARAMETER_PARSING_API Trim trailing whitespace in source code files 2018-10-13 14:14:50 +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:54:08 +02:00
README.SELF-CONTAINED-EXTENSIONS Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
README.STREAMS Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
README.SUBMITTING_PATCH Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
README.TESTING Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
README.TESTING2 Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
README.UNIX-BUILD-SYSTEM Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
README.WIN32-BUILD-SYSTEM Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
run-tests.php Remove .post files only for passing tests 2019-07-25 09:48:39 -06:00
server-tests-config.php Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
server-tests.php Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
snapshot
stamp-h.in
UPGRADING Update NEWS & UPGRADING 2020-09-28 21:38:43 -07:00
UPGRADING.INTERNALS Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
vcsclean Support "git worktree" 2016-08-11 08:08:26 +09:00

The PHP Interpreter

This is the github mirror of the official PHP repository located at http://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 http://git.php.net.

Guidelines for contributors