The PHP Interpreter
Clone or download
dstogov Most opcodes that don't consume their OP1 operand, must be terminated…
… with real consumer, and don't have to be checked.

These checks are replaced by ZEND_ASSERT.
Latest commit a3503f0 Jan 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
TSRM Future-proof email addresses... Nov 1, 2018
Zend Most opcodes that don't consume their OP1 operand, must be terminated… Jan 21, 2019
appveyor Sync leading and final newlines in source code files Oct 14, 2018
build Set AC_CONFIG_AUX_DIR to build directory Dec 10, 2018
ext Use SSA instead of bogus reverse linear scan. Jan 21, 2019
main Merge branch 'PHP-7.3' Jan 10, 2019
pear Sync leading and final newlines in source code files Oct 14, 2018
sapi Merge branch 'PHP-7.3' Jan 20, 2019
scripts Set AC_CONFIG_AUX_DIR to build directory Dec 10, 2018
tests Merge branch 'PHP-7.3' Jan 18, 2019
travis Migrate ext/gd to pkg-config Jan 15, 2019
win32 Merge branch 'PHP-7.3' Dec 30, 2018
.appveyor.yml Merge branch 'PHP-7.2' into PHP-7.3 Jan 12, 2019
.editorconfig Update .editorconfig with some more configs Oct 19, 2017
.gdbinit Trim trailing whitespace in source code files Oct 13, 2018
.gitattributes Fix .gitattributes Oct 20, 2018
.gitignore Remove lexer files generated by RE2C Nov 11, 2018
.travis.yml Migrate ext/gd to pkg-config Jan 15, 2019
CODING_STANDARDS Move all testing docs to qa.php.net Oct 18, 2018
CONTRIBUTING.md Set AC_CONFIG_AUX_DIR to build directory Dec 10, 2018
CREDITS Update http to https Jun 25, 2018
EXTENSIONS [ci skip] List FFI extension Jan 21, 2019
INSTALL Update http to https Jun 25, 2018
LICENSE Trim trailing whitespace in source code files Oct 13, 2018
Makefile.gcov Add forked and maintained extension in php-src from GCOV Dec 3, 2018
Makefile.global Remove stamp-h Oct 18, 2018
NEWS Added FFI extension Jan 14, 2019
README.EXT_SKEL Sync leading and final newlines in source code files Oct 14, 2018
README.GIT-RULES [ci skip] PHP 7.1 is now security-only branch Nov 23, 2018
README.MAILINGLIST_RULES MFH Jan 17, 2008
README.NEW-OUTPUT-API Trim trailing whitespace in source code files Oct 13, 2018
README.PARAMETER_PARSING_API Link to the fast_zpp RFC Dec 10, 2018
README.REDIST.BINS Unbundle libsqlite3 Oct 6, 2018
README.RELEASE_PROCESS ZEND_VERSION should be in sync with PHP_VERSION and friends Dec 7, 2018
README.SELF-CONTAINED-EXTENSIONS [ci skip] Remove automake and aclocal in comments Oct 21, 2018
README.STREAMS Trim trailing whitespace in source code files Oct 13, 2018
README.SUBMITTING_PATCH Move all testing docs to qa.php.net Oct 18, 2018
README.UNIX-BUILD-SYSTEM [ci skip] Remove automake and aclocal in comments Oct 21, 2018
README.WIN32-BUILD-SYSTEM Sync leading and final newlines in source code files Oct 14, 2018
README.input_filter Trim trailing whitespace in source code files Oct 13, 2018
README.md Move all testing docs to qa.php.net Oct 18, 2018
UPGRADING [ci skip] Note preloading and ext/ffi in UPGRADING Jan 21, 2019
UPGRADING.INTERNALS Implement typed properties Jan 11, 2019
acinclude.m4 ext/openssl: port to pkg-config macro and consistently require its use Jan 11, 2019
buildconf Merge branch 'PHP-7.2' into PHP-7.3 Oct 20, 2018
buildconf.bat Sync leading and final newlines in source code files Oct 14, 2018
configure.ac Merge branch 'PHP-7.3' Jan 2, 2019
footer Sync leading and final newlines in source code files Oct 14, 2018
genfiles Remove lexer files generated by RE2C Nov 11, 2018
header Remove unused Git attributes ident Jul 24, 2018
makedist Set AC_CONFIG_AUX_DIR to build directory Dec 10, 2018
php.gif change these in HEAD too Mar 7, 2006
php.ini-development [ci skip] Add opcache.preload directive Jan 21, 2019
php.ini-production [ci skip] Add opcache.preload directive Jan 21, 2019
php7.spec.in Replaces php5 with php7, without whitespace changes. Sep 20, 2014
run-tests.php Merge remote-tracking branch 'github/pr/3345' Dec 3, 2018
snapshot Integration of -ng changes. Changes: Dec 30, 1999
vcsclean Support "git worktree" Aug 10, 2016

README.md

The PHP Interpreter

This is the github mirror of the official PHP repository located at https://git.php.net.

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 internals@lists.php.net.

New features require an RFC and must be accepted by the developers. See https://wiki.php.net/rfc and https://wiki.php.net/rfc/voting for more information on the process.

Bug fixes do not require an RFC, but require a bugtracker ticket. Always open a ticket at https://bugs.php.net 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 https://git.php.net.

Guidelines for contributors

Testing

To run tests the make test is used after successful compilation of the sources.

See Creating new test files chapter for more information about testing.