The PHP Interpreter https://www.php.net
Find a file
Christoph M. Becker 0061db5503 Fix #77291: magic methods inherited from a trait may be ignored
When adding methods from a trait, we must not assume that a method name
with the same length as the name of the using class is either a PHP 4
style constructor, or not a magic method at all – it may well be
another magic method.

We mostly preserve the spirit of the optimization which caused this
regression, and avoid string comparisons for all method names which can
never be magic methods.
2018-12-16 13:30:11 +01:00
appveyor Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
build Merge branch 'PHP-7.2' into PHP-7.3 2018-10-20 09:54:00 +02:00
ext Remove BOM 2018-12-11 00:38:54 +01:00
main Fix version numbers in main branch 2018-12-10 00:16:23 +01:00
pear Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
sapi Merge branch 'PHP-7.2' into PHP-7.3 2018-11-16 23:22:19 +01:00
scripts Merge branch 'PHP-7.2' into PHP-7.3 2018-10-19 00:10:22 +02:00
tests This test needs to log to stdout 2018-10-31 10:43:45 -07:00
travis Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
TSRM Future-proof email addresses 2018-11-01 18:35:32 +02:00
win32 Future-proof email addresses 2018-11-01 18:35:32 +02:00
Zend Fix #77291: magic methods inherited from a trait may be ignored 2018-12-16 13:30:11 +01:00
.appveyor.yml Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
.editorconfig Update .editorconfig with some more configs 2017-10-19 11:53:37 +01:00
.gdbinit Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
.gitattributes Remove Git ident attribute from the iconv extension 2018-06-16 12:49:55 +02:00
.gitignore Merge branch 'PHP-7.2' into PHP-7.3 2018-10-19 00:10:22 +02:00
.travis.yml Merge branch 'PHP-7.2' into PHP-7.3 2018-12-03 00:42:55 -08:00
acinclude.m4 Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
buildconf Merge branch 'PHP-7.2' into PHP-7.3 2018-10-20 09:54:00 +02:00
buildconf.bat Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
CODING_STANDARDS Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
config.guess Fix #76137: config.guess/config.sub do not recognize RISC-V 2018-05-25 15:20:25 +02:00
config.sub Fix #76137: config.guess/config.sub do not recognize RISC-V 2018-05-25 15:20:25 +02:00
configure.ac Back to -dev 2018-12-09 16:23:31 +00:00
CONTRIBUTING.md PHP 7.1 is the new hotness 2018-01-06 21:12:12 +01:00
CREDITS Update http to https 2018-06-25 08:31:32 +02:00
EXTENSIONS Future-proof email addresses 2018-11-01 18:35:32 +02:00
footer Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
genfiles Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
header Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
INSTALL Update http to https 2018-06-25 08:31:32 +02:00
LICENSE Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
ltmain.sh
makedist Merge branch 'PHP-7.2' into PHP-7.3 2018-10-20 09:54:00 +02:00
Makefile.frag Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
Makefile.gcov Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
Makefile.global Merge branch 'PHP-7.2' into PHP-7.3 2018-08-04 06:37:15 +02:00
NEWS Fix #77291: magic methods inherited from a trait may be ignored 2018-12-16 13:30:11 +01:00
php.gif
php.ini-development Merge branch 'PHP-7.2' into PHP-7.3 2018-12-08 10:25:20 +01:00
php.ini-production Merge branch 'PHP-7.2' into PHP-7.3 2018-12-08 10:25:20 +01:00
php7.spec.in Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
README.EXT_SKEL Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
README.GIT-RULES Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
README.input_filter Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
README.MAILINGLIST_RULES
README.md Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
README.NEW-OUTPUT-API Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
README.PARAMETER_PARSING_API Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
README.REDIST.BINS Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
README.RELEASE_PROCESS Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
README.SELF-CONTAINED-EXTENSIONS Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
README.STREAMS Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
README.SUBMITTING_PATCH Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
README.TESTING Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
README.UNIX-BUILD-SYSTEM Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
README.WIN32-BUILD-SYSTEM Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
run-tests.php Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
server-tests-config.php Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
server-tests.php Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
snapshot
stamp-h.in
UPGRADING Update/fix UPGRADING 2018-12-10 14:32:20 +01:00
UPGRADING.INTERNALS Sync leading and final newlines in source code files 2018-10-14 12:55:24 +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 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