Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The PHP Interpreter
C PHP C++ Shell JavaScript Bison Other
branch: master
Failed to load latest commit information.
TSRM don't pass zero to malloc()
Zend Fix scope_is_known() for class constants
build Merge branch 'PHP-5.6'
ext Forgot the test for bug #69688
main code standard
netware bump year
pear reverting pear/install-pear-nozlib.phar as this mass php 5 -> php 7 s…
sapi Tweak uncaught exception message display
scripts Fix wrong display in ZTS checking
tests Show argument causing TypeException in trace
travis Merge branch 'PHP-5.6'
win32 Merge branch 'pull-request/1278'
.gdbinit Fixed dump_bt and printzv
.gitattributes Remove set_magic_quotes_runtime
.gitignore add a custom built pear installer until we have an official release w…
.travis.yml Merge branch 'PHP-5.6'
CODING_STANDARDS Small Spacing adjustments for better reading Add documentation contribution information.
CREDITS Let's pretend this is up-to-date now
EXTENSIONS JSON is now maintained
LICENSE Update year
Makefile.frag Drop zend_indent() as it was never used, complete or working
Makefile.gcov fix gcov data with some locales (again) Replaces php5 with php7, without whitespace changes.
NEWS Fixed bug #69688 (segfault with eval and opcache fast shutdown)
README.EXT_SKEL Fix the most obvious issues here.
README.GIT-RULES Formatting fixes for git rules file
README.NEW-OUTPUT-API Fix typo php_end_ob_buffer
README.REDIST.BINS - update blowfish to 1.2 (Solar Designer)
README.RELEASE_PROCESS Merge branch 'PHP-5.4' into PHP-5.5
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 NEWS/UPGRADING for ReflectionGenerator class
UPGRADING.INTERNALS Add some missed entry
acinclude.m4 Fixed PHP_CHECK_BUILTIN_EXPECT setting
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 Changed zend_smart_str allocation granularity to do the better job to…
footer consistent with the used style
genfiles MFB53: genfiles update
header Merge branch 'PHP-5.6' - Upgraded bundled libtool to 1.5.26
makedist fix buglet in makedist
makerpm fix the day of the week
php.gif change these in HEAD too
php.ini-development fix typo in php.ini
php.ini-production fix typo in php.ini Replaces php5 with php7, without whitespace changes.
run-tests.php Added experimental (disabled by default) file based opcode cache.
server-tests-config.php typo fixes -
server-tests.php Remove set_magic_quotes_runtime
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.