The PHP Interpreter
Go to file
Dmitry Stogov a9512af810 Implemented RFC: Fix inconsistent behavior of $this variable
Squashed commit of the following:

commit bdd3b6895c
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Thu Jun 16 00:19:42 2016 +0300

    Fixed GOTO VM

commit 2f1d7c8b89
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Wed Jun 15 21:01:57 2016 +0300

    Removed unused variable

commit cf749c42b0
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Wed Jun 15 19:06:16 2016 +0300

    Protection from $this reassign through mb_parse_str()

commit 59a9a6c83c
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Wed Jun 15 18:14:50 2016 +0300

    Added type inference rule for FETCH_THIS opcode

commit 73f8d14a85
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Wed Jun 15 18:11:18 2016 +0300

    Restored PHP-7 behavior of isset($this->foo).
    It throws exception if not in object context.
    Removed useless opcode handlers.

commit fa0881381e
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Tue May 31 12:25:47 2016 +0300

    Changed "Notice: Undefined variable: this" into "Exception: Using $this when not in object context".

commit e32cc528c0
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Tue May 24 02:02:43 2016 +0300

    Throw exception on attempt to re-assign $this through extract() and parse_str().

commit 41f1531b52
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Mon May 23 22:18:36 2016 +0300

    Fixed inconsistent $this behavior
2016-06-16 02:30:23 +03:00
build
ext Implemented RFC: Fix inconsistent behavior of $this variable 2016-06-16 02:30:23 +03:00
main Implemented RFC: Fix inconsistent behavior of $this variable 2016-06-16 02:30:23 +03:00
netware
pear
sapi Enable per-module logging in Apache 2.4+ 2016-06-03 00:08:57 +02:00
scripts
tests Implemented RFC: Fix inconsistent behavior of $this variable 2016-06-16 02:30:23 +03:00
travis
TSRM fix #71609: Segmentation fault on ZTS with gethostbyname 2016-03-31 12:39:01 +01:00
win32 Fix bug #47517 php-cgi.exe missing UAC manifest 2016-06-02 22:55:18 +02:00
Zend Implemented RFC: Fix inconsistent behavior of $this variable 2016-06-16 02:30:23 +03:00
.gdbinit
.gitattributes
.gitignore
.travis.yml
acinclude.m4 improve 7132fe19c2 2016-05-13 12:47:36 +01:00
buildconf
buildconf.bat
CODING_STANDARDS Update CODING_STANDARDS 2016-05-18 17:45:12 +02:00
config.guess
config.sub
configure.in 5.6.24 will be next 2016-06-09 10:51:02 +02:00
CONTRIBUTING.md
CREDITS
EXTENSIONS
footer
genfiles
header
INSTALL remove description for apache 1.3 2016-04-05 12:13:38 +02:00
LICENSE
ltmain.sh
makedist
Makefile.frag
Makefile.gcov
Makefile.global Merge branch 'PHP-5.6' into PHP-7.0 2016-02-08 20:29:24 +02:00
makerpm
NEWS These bugs are also in 7.1-alpha 2016-06-15 14:56:41 +08:00
php7.spec.in
php.gif
php.ini-development Fix #71554: FTP has not built-in support 2016-06-12 13:22:02 +02:00
php.ini-production Fix #71554: FTP has not built-in support 2016-06-12 13:22:02 +02: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 Fix typos in git rules and release process READMEs 2016-01-29 17:04:39 +01: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
README.md Fix typo 2016-06-04 19:06:59 +02:00
README.namespaces
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
README.STREAMS Remove TSRMLS_* from docs as it's not used anymore 2016-02-17 22:36:01 -08:00
README.SUBMITTING_PATCH
README.TESTING
README.TESTING2
README.UNIX-BUILD-SYSTEM
README.WIN32-BUILD-SYSTEM
run-tests.php Merge branch 'PHP-7.0' 2016-05-10 15:40:09 -04:00
server-tests-config.php
server-tests.php
snapshot
stamp-h.in
stub.c
UPGRADING update UPGRADING 2016-06-02 14:30:27 +02:00
UPGRADING.INTERNALS
vcsclean

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