Go to file
Nikita Popov daa2b75c76 Fix some sizeof(zend_long) > sizeof(size_t) issues
Fix a couple of mistakes that are only relevant if
sizeof(zend_long) > sizeof(size_t).

* Fix cast order in string offset check: Negation should happen
  after the (zend_long) cast, otherwise sign extension does not
  occur.
* Use Z_UL in zend_inference.
* Use aligned size for HT_USED_SIZE in zend_persist: The issue is
  that on x86-32 uint64_t is considered to be 4-aligned, so the
  alignment assumption does not hold.
2016-09-05 15:33:02 +02:00
build Merge branch 'PHP-5.6' into PHP-7.0 2016-01-04 18:13:38 +01:00
ext Fix some sizeof(zend_long) > sizeof(size_t) issues 2016-09-05 15:33:02 +02:00
main Bump PHP_API_VERSION 2016-09-04 14:27:28 +02:00
netware Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
pear pear 1.10 was released and the go-pear and install pear phars are now php7 compatible 2015-10-07 13:56:47 +02:00
sapi Merge branch 'PHP-7.1' 2016-09-04 23:24:36 -07:00
scripts Merge branch 'PHP-5.6' into PHP-7.0 2016-01-04 18:13:38 +01:00
tests Implement \ArgumentCountError exception 2016-08-30 19:35:56 -07:00
travis Disable PEAR in Travis build 2015-12-05 22:48:29 +01:00
TSRM Merge branch 'PHP-7.1' 2016-08-29 21:49:28 +02:00
win32 Merge branch 'PHP-7.1' 2016-09-01 23:54:33 +02:00
Zend Fix some sizeof(zend_long) > sizeof(size_t) issues 2016-09-05 15:33:02 +02:00
.editorconfig Limit editorconfig to C code 2016-09-05 14:22:13 +02:00
.gdbinit Doubles are not refcounted 2015-09-01 14:52:04 -07:00
.gitattributes Remove set_magic_quotes_runtime 2015-01-17 18:26:45 +01:00
.gitignore Merge branch 'PHP-5.6' into PHP-7.0 2015-12-17 14:30:00 +08:00
.travis.yml remove imap tests for now until I finish the sudoless dovecot config 2015-10-19 23:57:43 +02:00
acinclude.m4 Fix typos 2016-08-11 17:57:58 +02:00
buildconf Make "buildconf --force" more robust, per IRC chat. Not backported to 5.3 to avoid destabilization. 2012-03-06 21:30:59 +00:00
buildconf.bat MFH: Check if configure script was copied, and output an error if it wasn't 2009-01-02 12:18:21 +00:00
CODING_STANDARDS Update CODING_STANDARDS 2016-05-18 17:45:12 +02:00
config.guess Update config.guess and config.sub 2014-12-04 17:56:20 +00:00
config.sub Update config.guess and config.sub 2014-12-04 17:56:20 +00:00
configure.in 5.6.27 will be next 2016-09-01 20:27:19 +02:00
CONTRIBUTING.md Add documentation contribution information. 2015-05-20 19:26:20 -05:00
CREDITS
EXTENSIONS Update support - Stefan is no longer maintaining FTP 2016-08-18 00:03:23 -07:00
footer
genfiles make it possible to set the re2c and yacc paths via environment variables for genfiles 2015-06-11 00:13:08 +02:00
header Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
INSTALL remove description for apache 1.3 2016-04-05 12:13:38 +02:00
LICENSE Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
ltmain.sh - Upgraded bundled libtool to 1.5.26 2009-11-23 21:53:30 +00:00
makedist Fixed bug #70917 install-pear-nozlib.phar missing 2015-11-15 19:01:22 +01:00
Makefile.frag Drop zend_indent() as it was never used, complete or working 2015-03-27 20:04:46 +01:00
Makefile.gcov exclude datelib from coverage report as asked by Derick 2015-10-24 17:38:20 -04:00
Makefile.global Merge branch 'PHP-5.6' into PHP-7.0 2016-02-08 20:29:24 +02:00
makerpm fix the day of the week 2015-01-29 14:24:20 +08:00
NEWS Updated NEWS 2016-09-05 10:19:21 +02:00
php7.spec.in Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
php.gif
php.ini-development Merge branch 'PHP-7.1' 2016-08-12 12:31:45 +09:00
php.ini-production Merge branch 'PHP-7.1' 2016-08-12 12:31:45 +09:00
README.EXT_SKEL Remove TSRMLS_* from docs as it's not used anymore 2016-02-17 22:36:01 -08:00
README.GIT-RULES Update GIT-RULES release list 2016-08-18 12:31:09 +02:00
README.input_filter Remove TSRMLS_* from docs as it's not used anymore 2016-02-17 22:36:01 -08:00
README.MAILINGLIST_RULES MFH 2008-01-17 14:38:16 +00:00
README.md Fix typo 2016-06-04 19:06:59 +02:00
README.namespaces drop exec perm on doc files 2014-06-05 17:45:22 +02:00
README.NEW-OUTPUT-API Remove TSRMLS_* from docs as it's not used anymore 2016-02-17 22:36:01 -08:00
README.PARAMETER_PARSING_API Fix one zpp usage in interbase 2016-03-03 23:50:02 +01:00
README.REDIST.BINS cleanup, ext/json is simple PHP now 2016-02-20 17:42:53 +01:00
README.RELEASE_PROCESS Fix typos in git rules and release process READMEs 2016-01-29 17:04:39 +01:00
README.SELF-CONTAINED-EXTENSIONS added notes about the PECL site conformity 2013-10-14 16:07:26 +02:00
README.STREAMS Remove TSRMLS_* from docs as it's not used anymore 2016-02-17 22:36:01 -08:00
README.SUBMITTING_PATCH Small tidy ups and raise visibility of GitHub PR process 2014-08-07 09:27:53 -07:00
README.TESTING Update README.TESTING 2015-02-07 10:35:52 -06:00
README.TESTING2 typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-23 14:52:47 -08:00
README.UNIX-BUILD-SYSTEM Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
README.WIN32-BUILD-SYSTEM - if they are outdated/wrong, no need to confuse the users 2010-02-04 08:24:29 +00:00
run-tests.php Merge branch 'pull-request/1864' 2016-09-05 00:51:01 -07:00
server-tests-config.php typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-19 20:23:00 +00:00
server-tests.php Merge branch 'PHP-5.6' into PHP-7.0 2016-01-04 18:13:38 +01:00
snapshot
stamp-h.in
stub.c
UPGRADING Update UPGRADING wrt. commit c4fe264b 2016-09-05 11:27:46 +02:00
UPGRADING.INTERNALS add note to UPGRADING.INTERNALS 2016-08-29 18:37:35 +02:00
vcsclean Support "git worktree" 2016-08-11 08:08:26 +09:00

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

Guidelines for contributors