The PHP Interpreter
C PHP C++ M4 Objective-C Shell Other
Switch branches/tags
Clone or download
Latest commit b81d712 Jul 19, 2018
Failed to load latest commit information.
TSRM year++ Jan 2, 2018
Zend Fixed typo Jul 19, 2018
appveyor Do one test build with AVX May 31, 2018
build Remove old SVN keywords substitutions Jun 16, 2018
ext Micro optimizations Jul 19, 2018
main Fix #33502: Some nullary functions don't check the number of arguments Jul 12, 2018
pear pear 1.10 was released and the go-pear and install pear phars are now… Oct 7, 2015
sapi Fixed test Jul 9, 2018
scripts Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS Jul 7, 2018
tests Fixed bug #76509 Jun 25, 2018
travis Use system libzip by default Sep 11, 2017
win32 Avoid early allocation Jul 13, 2018
.appveyor.yml Merge branch 'PHP-7.2' Jun 28, 2018
.editorconfig Update .editorconfig with some more configs Oct 19, 2017
.gdbinit Adds print_global_vars to gdbinit May 26, 2018
.gitattributes Remove Git ident attribute from the iconv extension Jun 16, 2018
.gitignore Remove some old occurrences of Jun 4, 2018
.travis.yml Merge branch 'PHP-7.2' Jul 12, 2018
CODING_STANDARDS Update coding standards Dec 9, 2017 PHP 7.1 is the new hotness Jan 6, 2018
CREDITS Update http to https Jun 25, 2018
EXTENSIONS [ci skip] Add dates to maintainer names Jul 12, 2018
INSTALL Update http to https Jun 25, 2018
LICENSE Happy new year (Update copyright to 2018) Jan 2, 2018
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-7.2' Sep 25, 2017
NEWS Update NEWS for 7.3.0beta1 Jul 17, 2018
README.NEW-OUTPUT-API Remove old SVN keywords substitutions Jun 16, 2018
README.PARAMETER_PARSING_API [ci skip] Document zend_parse_parameters_none() Jul 3, 2018
README.RELEASE_PROCESS [ci skip] Fix typo Jul 6, 2018
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 Fix SKIPIF section Feb 8, 2018
README.UNIX-BUILD-SYSTEM Replaces php5 with php7, without whitespace changes. Sep 20, 2014
README.WIN32-BUILD-SYSTEM [ci skip] Update link Mar 10, 2018
README.input_filter Normalize filter phpinfo() output Jun 2, 2018 Update http to https Jun 25, 2018
UPGRADING Add implementation and tests for new methods - array_key_first(array … Jul 17, 2018
UPGRADING.INTERNALS add info about zend_class_entry.iterator_funcs Jul 18, 2018
acinclude.m4 Add missing autoconf m4 quotes Jul 3, 2018
buildconf Use modern autotools name of instead of Jan 27, 2017
buildconf.bat MFH: Check if configure script was copied, and output an error if it … Jan 2, 2009
config.guess Fix #76137: config.guess/config.sub do not recognize RISC-V May 25, 2018
config.sub Fix #76137: config.guess/config.sub do not recognize RISC-V May 25, 2018 Merge branch 'PHP-7.2' Jul 8, 2018
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 http to https Jun 25, 2018 - Upgraded bundled libtool to 1.5.26 Nov 23, 2009
makedist Fixed bug #75614 Dec 16, 2017
php.gif change these in HEAD too Mar 7, 2006
php.ini-development Update NEWS, UPGRADING and default php.ini files with syslog changes Jul 1, 2018
php.ini-production [ci skip] Update php.ini-production Jul 14, 2018 Replaces php5 with php7, without whitespace changes. Sep 20, 2014
run-tests.php Small tweaks to php scripts Jul 14, 2018
server-tests-config.php typo fixes - Nov 19, 2014
server-tests.php Small tweaks to php scripts Jul 14, 2018
snapshot Integration of -ng changes. Changes: Dec 30, 1999 # Fix ColorResolve bogosity Nov 21, 1999
vcsclean Support "git worktree" Aug 10, 2016

The PHP Interpreter

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

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

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