Skip to content


Subversion checkout URL

You can clone with
Download ZIP
The PHP Interpreter
C PHP C++ Shell JavaScript Lex Other
branch: master
Failed to load latest commit information.
TSRM don't pass zero to malloc()
Zend Use ZSTR_ API to access zend_string elements (this is just renaming w…
build Merge branch 'PHP-5.6'
ext Use ZSTR_ API to access zend_string elements (this is just renaming w…
main Use ZSTR_ API to access zend_string elements (this is just renaming w…
netware bump year
pear add a freshly built pear/install-pear-nozlib.phar. created from the c…
sapi Use ZSTR_ API to access zend_string elements (this is just renaming w…
scripts Revert "Fix arginfo for built-in engine functions"
tests Restored old behavior
travis Merge branch 'PHP-5.6'
win32 Improved zend_string API (Francois Laupretre)
.gdbinit Fixed print_ht
.gitattributes Remove set_magic_quotes_runtime
.gitignore Remove these old references to the DSP files we don't use anymore
.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 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 fix gcov data with some locales (again) Add targets to simplify building PHP with FDO (Feedback Directed Opti…
NEWS Improved zend_string API (Francois Laupretre)
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 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
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 Merge branch 'master' into merge-fastcgi
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 tweak the zendparse symbol to be exported with newer bison
makerpm fix the day of the week
php.gif change these in HEAD too
php.ini-development Rmoved opcache.load_comments.
php.ini-production Rmoved opcache.load_comments. Replaces php5 with php7, without whitespace changes.
run-tests.php Remove debug codes
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.