The PHP Interpreter
C PHP C++ Objective-C M4 Shell Other
Latest commit bc6b171 Dec 9, 2016 @laruence laruence Merge branch 'PHP-7.1'
* PHP-7.1:
  Fixed bug #73646 (mb_ereg_search_init null pointer dereference)
Failed to load latest commit information.
TSRM Remove more NetWare leftovers Nov 21, 2016
Zend Regenerated zend_vm_execute.h (fixed white spaces) Dec 8, 2016
build Merge branch 'PHP-5.6' into PHP-7.0 Jan 4, 2016
ext Merge branch 'PHP-7.1' Dec 9, 2016
main further normalizations, uint vs uint32_t Nov 26, 2016
pear pear 1.10 was released and the go-pear and install pear phars are now… Oct 7, 2015
sapi Merge branch 'PHP-7.1' Dec 6, 2016
scripts Merge branch 'PHP-5.6' into PHP-7.0 Jan 4, 2016
tests Merge branch 'PHP-7.1' Dec 7, 2016
travis Disable PEAR in Travis build Dec 5, 2015
win32 Merge branch 'PHP-7.1' Nov 22, 2016
.editorconfig Limit editorconfig to C code Sep 5, 2016
.gdbinit Doubles are not refcounted Sep 1, 2015
.gitattributes Remove set_magic_quotes_runtime Jan 17, 2015
.gitignore Improve the config.simple.bat for Windows a little; Oct 18, 2016
.travis.yml remove imap tests for now until I finish the sudoless dovecot config Oct 19, 2015
CODING_STANDARDS Update CODING_STANDARDS May 18, 2016 Add documentation contribution information. May 21, 2015
CREDITS Let's pretend this is up-to-date now Apr 22, 2002
EXTENSIONS Merge branch 'PHP-7.1' Sep 13, 2016
INSTALL remove description for apache 1.3 Apr 5, 2016
LICENSE Happy new year (Update copyright to 2016) Jan 1, 2016
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 Merge branch 'PHP-5.6' into PHP-7.0 Feb 8, 2016
NEWS Fixed memory leaks caused by exceptions thrown from destructors. Dec 6, 2016
README.EXT_SKEL Remove TSRMLS_* from docs as it's not used anymore Feb 18, 2016
README.GIT-RULES Update GIT-RULES release list Aug 18, 2016
README.NEW-OUTPUT-API Remove TSRMLS_* from docs as it's not used anymore Feb 18, 2016
README.PARAMETER_PARSING_API Fix one zpp usage in interbase Mar 3, 2016
README.REDIST.BINS cleanup, ext/json is simple PHP now Feb 20, 2016
README.RELEASE_PROCESS Fix typos in git rules and release process READMEs Jan 29, 2016
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.TESTING2 typo fixes - 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 Fix typo Jun 4, 2016
README.namespaces drop exec perm on doc files Jun 5, 2014
UPGRADING fix spelling Nov 25, 2016
UPGRADING.INTERNALS Fix bug #71038 - session_start() returns true even when it failed Nov 17, 2016
acinclude.m4 Merge branch 'PHP-7.1' Nov 26, 2016
buildconf Make "buildconf --force" more robust, per IRC chat. Not backported to… Mar 6, 2012
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 Remove Netware support Nov 12, 2016
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 Merge branch 'PHP-5.6' into PHP-7.0 Jan 1, 2016 - Upgraded bundled libtool to 1.5.26 Nov 23, 2009
makedist Fixed bug #70917 install-pear-nozlib.phar missing Nov 15, 2015
makerpm fix the day of the week Jan 29, 2015
php.gif change these in HEAD too Mar 7, 2006
php.ini-development Merge branch 'PHP-7.1' Dec 3, 2016
php.ini-production Merge branch 'PHP-7.1' Dec 3, 2016 Replaces php5 with php7, without whitespace changes. Sep 20, 2014
run-tests.php Merge branch 'PHP-7.1' Nov 30, 2016
server-tests-config.php typo fixes - Nov 19, 2014
server-tests.php Happy new year (Update copyright to 2016) Jan 1, 2016
snapshot Integration of -ng changes. Changes: Dec 30, 1999 # Fix ColorResolve bogosity Nov 21, 1999
stub.c Add newline. Recent GCC snapshots segfault, if the input file is comp… Dec 1, 2000
vcsclean Support "git worktree" Aug 10, 2016

The PHP Interpreter

This is the github mirror of the official PHP repository located at

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

New features require an RFC and must be accepted by the developers. See and for more information on the process.

Bug fixes do not require an RFC, but require a bugtracker ticket. Always open a ticket at 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

Guidelines for contributors