The PHP Interpreter
C PHP C++ M4 Shell Objective-C Other
Switch branches/tags
Latest commit d21c902 Nov 22, 2017 @nikic nikic Fix cp950 pua check
One set of parenthesis was missing, causing a legitimate compiler
warnings. In the end it doesn't actually matter, because it just
ends up doing an unnecessary check in the w > 0 case.

This fixes the logic and moves it out into a separate functions,
to be a bit more readable.
Permalink
Failed to load latest commit information.
TSRM Merge branch 'PHP-7.2' Nov 15, 2017
Zend Allowed modification of VM stack page size. Exported few functions. G… Nov 22, 2017
appveyor Merge branch 'PHP-7.1' into PHP-7.2 Oct 30, 2017
build Fixed bug #75142 buildcheck.sh check for autoconf version needs to be… Sep 5, 2017
ext Fix cp950 pua check Nov 22, 2017
main Eliminate cast Nov 22, 2017
pear pear 1.10 was released and the go-pear and install pear phars are now… Oct 7, 2015
sapi Fix some printf() specifier usages Nov 21, 2017
scripts Merge branch 'PHP-7.1' into PHP-7.2 Jul 24, 2017
tests Fixed incorrect recursion detection Oct 6, 2017
travis Use system libzip by default Sep 11, 2017
win32 Use log1p from the CRT Nov 17, 2017
.appveyor.yml Merge branch 'PHP-7.1' into PHP-7.2 Nov 17, 2017
.editorconfig Update .editorconfig with some more configs Oct 19, 2017
.gdbinit Removing zmemcheck from .gdbinit Jan 18, 2017
.gitattributes Remove ident gitattribute for Zend/RFC/ Oct 5, 2017
.gitignore Patch core for PCRE2 support Nov 13, 2017
.travis.yml Merge branch 'PHP-7.2' Oct 25, 2017
CODING_STANDARDS Remove obsolete function names from CODING_STANDARDS file Jul 25, 2017
CONTRIBUTING.md Update CONTRIBUTING Apr 2, 2017
CREDITS Let's pretend this is up-to-date now Apr 22, 2002
EXTENSIONS Change EXTENSIONS file encoding from iso-8859-1 to utf-8 Sep 25, 2017
INSTALL Point to the online documentation for installation of PHP in INSTALL,… Jul 21, 2017
LICENSE Update copyright headers to 2017 Jan 4, 2017
Makefile.frag Drop zend_indent() as it was never used, complete or working Mar 27, 2015
Makefile.gcov exclude datelib from coverage report as asked by Derick Oct 24, 2015
Makefile.global Merge branch 'PHP-7.2' Sep 25, 2017
NEWS Fixed bug #70469 Nov 22, 2017
README.EXT_SKEL Update README.EXT_SKEL Nov 10, 2017
README.GIT-RULES Fix typo Jul 29, 2017
README.MAILINGLIST_RULES MFH Jan 17, 2008
README.NEW-OUTPUT-API Fix typos Mar 27, 2017
README.PARAMETER_PARSING_API Fix one zpp usage in interbase Mar 3, 2016
README.REDIST.BINS Refactor ext/phar License info Oct 19, 2017
README.RELEASE_PROCESS Add notes for cutting release branches Jul 18, 2017
README.SELF-CONTAINED-EXTENSIONS added notes about the PECL site conformity Oct 14, 2013
README.STREAMS Remove TSRMLS_* from docs as it's not used anymore Feb 18, 2016
README.SUBMITTING_PATCH Small tidy ups and raise visibility of GitHub PR process Aug 7, 2014
README.TESTING Update README.TESTING Feb 7, 2015
README.TESTING2 typo fixes - https://github.com/vlajos/misspell_fixer Nov 23, 2014
README.UNIX-BUILD-SYSTEM Replaces php5 with php7, without whitespace changes. Sep 20, 2014
README.WIN32-BUILD-SYSTEM - if they are outdated/wrong, no need to confuse the users Feb 4, 2010
README.input_filter Remove TSRMLS_* from docs as it's not used anymore Feb 18, 2016
README.md add build status badge Dec 16, 2016
UPGRADING Merge branch 'PHP-7.2' Nov 6, 2017
UPGRADING.INTERNALS [ci skip] Update UPGRADING.INTERNALS Nov 6, 2017
acinclude.m4 Merge branch 'PHP-7.1' Jun 22, 2017
buildconf Use modern autotools name of configure.ac instead of configure.in Jan 27, 2017
buildconf.bat MFH: Check if configure script was copied, and output an error if it … Jan 2, 2009
config.guess Update config.guess and config.sub Dec 4, 2014
config.sub Remove Netware support Nov 12, 2016
configure.ac Remove some old apache2filter occurrences Oct 8, 2017
footer consistent with the used style Feb 20, 2003
genfiles make it possible to set the re2c and yacc paths via environment varia… Jun 10, 2015
header Update copyright headers to 2017 Jan 4, 2017
ltmain.sh - Upgraded bundled libtool to 1.5.26 Nov 23, 2009
makedist Fixed bug #70917 install-pear-nozlib.phar missing Nov 15, 2015
php.gif change these in HEAD too Mar 7, 2006
php.ini-development Merge branch 'PHP-7.2' Oct 23, 2017
php.ini-production Merge branch 'PHP-7.2' Oct 23, 2017
php7.spec.in Replaces php5 with php7, without whitespace changes. Sep 20, 2014
run-tests.php Patch core for PCRE2 support Nov 13, 2017
server-tests-config.php typo fixes - https://github.com/vlajos/misspell_fixer Nov 19, 2014
server-tests.php Deprecate each() Feb 3, 2017
snapshot Integration of -ng changes. Changes: Dec 30, 1999
stamp-h.in # Fix ColorResolve bogosity Nov 21, 1999
vcsclean Support "git worktree" Aug 10, 2016

README.md

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 [email protected].

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