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2 PHP-7.1.0beta3 PHP-7.1.0 PHP-7.1.1 PHP-7.1.2 PHP-7.1.3 PHP-7.1.4 PHP-7.1.5 PHP-7.1.6 PHP-7.1.7 PHP-7.1.8 PHP-7.1.9 PHP-7.1.10 PHP-7.1.11 PHP-7.1.12 PHP-7.1.13 PHP-7.1.14 PHP-7.1.15 PHP-7.1.16 PHP-7.1.17 PHP-7.1.18 PHP-7.1.19 PHP-7.1.20 PHP-7.1.21 PHP-7.1.22 PHP-7.1.23 PHP-7.1.24 PHP-7.1.25 PHP-7.2 PHP-7.2.0 PHP-7.2.1 PHP-7.2.2 PHP-7.2.3 PHP-7.2.4 PHP-7.2.5 PHP-7.2.6 PHP-7.2.7 PHP-7.2.8 PHP-7.2.9 PHP-7.2.10 PHP-7.2.11 PHP-7.2.12 PHP-7.2.13 PHP-7.2.14 PHP-7.3 PHP-7.3.0 PHP-7.3.1 broken-5.6-20140206 dstogov-foreach experimental/RETURN_REF experimental/ZendEngine2 experimental/apache_hooks experimental/first_unicode_implementation experimental/lemon experimental/namespaces experimental/new_apache_hooks experimental/new_ui_api experimental/newoperator experimental/phar_tar experimental/pre_new_hash_func experimental/rand_redesign experimental/the_5_4_that_isnt_5_4 experimental/threaded experimental/with_scalar_types experimental/zts_stdc_scanners experimental/5.2-WITH_DRCP experimental/5.3-FPM experimetnal/RETURN_REF_PATCH immutable-date internal-arg-info master microseconds migration/EXPERIMENTAL migration/INITIAL migration/RELEASE_1_0_0 migration/sqlite-start migration/unlabaled-1.1.2 migration/unlabaled-1.3.2 migration/unlabaled-1.29.2 migration/unlabaled-1.67.2 native-tls str_size_and_int64 str_size_and_int64_56_backport tmp_liveliness zend-signal-zts
Nothing to show
Clone or download
remicollet Merge branch 'PHP-7.3'
* PHP-7.3:
  bump to 7.2.15-dev
Latest commit 6ff9580 Dec 18, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
TSRM Future-proof email addresses... Nov 1, 2018
Zend Fixed expectation Dec 17, 2018
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 CFG construction: Avoid code duplication Dec 17, 2018
main Remove unused import_used_extension utility value Dec 4, 2018
pear Sync leading and final newlines in source code files Oct 14, 2018
sapi Implement FR #72510: systemd service should be hardened Dec 12, 2018
scripts Set AC_CONFIG_AUX_DIR to build directory Dec 10, 2018
tests Remove some mentions of RECOVERABLE_ERROR in tests Nov 15, 2018
travis ext/curl: port to pkg-config macro and consistently require its use Dec 9, 2018
win32 Future-proof email addresses... Nov 1, 2018
.appveyor.yml Sync leading and final newlines in source code files Oct 14, 2018
.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 Merge branch 'PHP-7.2' Dec 3, 2018
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] Add myself as sqlite3 maintainer, officially Nov 29, 2018
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 Implement SQLite3Stmt::getSQL method, returning the original statemen… Dec 15, 2018
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 Implement SQLite3Stmt::getSQL method, returning the original statemen… Dec 15, 2018
UPGRADING.INTERNALS Allow empty $escape to eschew escaping CSV Dec 15, 2018
acinclude.m4 ext/intl: Use pkg-config to detect icu Dec 9, 2018
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 Set AC_CONFIG_AUX_DIR to build directory Dec 10, 2018
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 Merge branch 'PHP-7.3' Dec 8, 2018
php.ini-production Merge branch 'PHP-7.3' Dec 8, 2018
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.