Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
git mirror of the PHP source code
C PHP C++ Shell JavaScript Lex Other
Branch: master
Pull request Compare This branch is 305 commits behind php:master.

Fix issue with SplFileInfo::getExtension() on files with only a leadi…

…ng '.' character

Currently, there is an assert() that fails on files like .gitignore crashing PHP. This patch fixes that.
Instead, now an empty string is returned (since the file has no extension). A test has been added to test this behavior.
latest commit 4b78636f3f
@ircmaxell authored
Failed to load latest commit information.
TSRM don't pass zero to malloc()
Zend Preserve return value in zend_vm_call_opcode_handler with global opli…
build Merge branch 'PHP-5.6'
ext Fix issue with SplFileInfo::getExtension() on files with only a leadi…
main fix pipe peek timeout
netware bump year
pear add a freshly built pear/install-pear-nozlib.phar. created from the c…
sapi Fix weird asm instruction order with gcc by marking as volatile in ph…
scripts Revert "Fix arginfo for built-in engine functions"
tests Switch code on thrown TypeError and ParseError to 0, update related t…
travis Merge branch 'PHP-5.6'
win32 move the define to the right place
.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 Run debug build with opcache on travis
CODING_STANDARDS Small Spacing adjustments for better reading
CONTRIBUTING.md 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…
INSTALL Fix typo in INSTALL
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)
Makefile.global Add targets to simplify building PHP with FDO (Feedback Directed Opti…
NEWS updated NEWS
README.EXT_SKEL Fix the most obvious issues here.
README.GIT-RULES Formatting fixes for git rules file
README.MAILINGLIST_RULES MFH
README.NEW-OUTPUT-API Fix typo php_end_ob_buffer
README.PARAMETER_PARSING_API improve zpp readme
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.TESTING Update README.TESTING
README.TESTING2 typo fixes - https://github.com/vlajos/misspell_fixer
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.
README.md Use svg instead of png to get better image quality
README.namespaces drop exec perm on doc files
UPGRADING added info about the user space stream context for pipes
UPGRADING.INTERNALS improve info about the applink
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
configure.in 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'
ltmain.sh - 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 mention pcre.jit in the supplied php.ini-*
php.ini-production mention pcre.jit in the supplied php.ini-*
php7.spec.in Replaces php5 with php7, without whitespace changes.
run-tests.php XFAILED tests are not "You may have found a problem in PHP"
server-tests-config.php typo fixes - https://github.com/vlajos/misspell_fixer
server-tests.php Remove set_magic_quotes_runtime
snapshot Integration of -ng changes. Changes:
stamp-h.in # Fix ColorResolve bogosity
stub.c Add newline. Recent GCC snapshots segfault, if the input file is comp…
vcsclean Removed cvsclean and svnclean tools

README.md

The PHP Interpreter

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

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 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 http://git.php.net.

Guidelines for contributors

Something went wrong with that request. Please try again.