Skip to content


Subversion checkout URL

You can clone with
Download ZIP
The PHP Interpreter
C PHP C++ Shell JavaScript Lex Other
Latest commit 2e6cf27 @dstogov dstogov Fixed compilation warning
Failed to load latest commit information.
TSRM correct snprintf usage
Zend Merge branch 'PHP-7.0'
build Fixed bug #70899 (buildconf failure in extensions)
ext Fixed compilation warning
main Merge branch 'PHP-7.0'
netware bump year
pear pear 1.10 was released and the go-pear and install pear phars are now…
sapi Merge branch 'PHP-7.0'
scripts More check_parameters improvements
tests Fixed test
travis remove imap tests for now until I finish the sudoless dovecot config
win32 Merge branch 'PHP-7.0'
.gdbinit Doubles are not refcounted
.gitattributes Remove set_magic_quotes_runtime
.gitignore Merge branch 'PHP-5.6'
.travis.yml remove imap tests for now until I finish the sudoless dovecot config
CODING_STANDARDS Small Spacing adjustments for better reading Add documentation contribution information.
CREDITS Let's pretend this is up-to-date now
EXTENSIONS Minor updates to EXTENSIONS for removed SAPIS etc that I remembered o…
LICENSE Update year
Makefile.frag Drop zend_indent() as it was never used, complete or working
Makefile.gcov exclude datelib from coverage report as asked by Derick Add targets to simplify building PHP with FDO (Feedback Directed Opti…
NEWS Add void return type
README.EXT_SKEL Fix the most obvious issues here.
README.GIT-RULES Merge branch 'PHP-5.6'
README.NEW-OUTPUT-API Fix typo php_end_ob_buffer
README.REDIST.BINS - update blowfish to 1.2 (Solar Designer)
README.RELEASE_PROCESS update the doc in regard to the latest discussions
README.SELF-CONTAINED-EXTENSIONS added notes about the PECL site conformity
README.STREAMS Constify streams API and a few other calls down the rabbit hole.
README.SUBMITTING_PATCH Small tidy ups and raise visibility of GitHub PR process
README.TESTING2 typo fixes -
README.UNIX-BUILD-SYSTEM Replaces php5 with php7, without whitespace changes.
README.WIN32-BUILD-SYSTEM - if they are outdated/wrong, no need to confuse the users
README.input_filter Replaces php5 with php7, without whitespace changes. Use svg instead of png to get better image quality
README.namespaces drop exec perm on doc files
UPGRADING Add void return type
UPGRADING.INTERNALS make room for next UPGRADING notes
acinclude.m4 Revert pushed by mistake
buildconf Make "buildconf --force" more robust, per IRC chat. Not backported to…
buildconf.bat MFH: Check if configure script was copied, and output an error if it …
config.guess Update config.guess and config.sub
config.sub Update config.guess and config.sub Revert pushed by mistake
footer consistent with the used style
genfiles make it possible to set the re2c and yacc paths via environment varia…
header Merge branch 'PHP-5.6' - Upgraded bundled libtool to 1.5.26
makedist Fixed bug #70917 install-pear-nozlib.phar missing
makerpm fix the day of the week
php.gif change these in HEAD too
php.ini-development Added information about new opcache configuration directives
php.ini-production Fixed bug #70624 opcache.huge_code_pages Replaces php5 with php7, without whitespace changes.
run-tests.php Merge branch 'PHP-7.0'
server-tests-config.php typo fixes -
server-tests.php Drop support for EOL'd PHP versions from run-tests
snapshot Integration of -ng changes. Changes: # Fix ColorResolve bogosity
stub.c Add newline. Recent GCC snapshots segfault, if the input file is comp…
vcsclean Removed cvsclean and svnclean tools

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 mailinglist

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

Something went wrong with that request. Please try again.