diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2018-06-09 18:36:54 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-06-09 18:42:22 +0200 |
commit | d877d186766fe43121510e6f48797dd33e060e35 (patch) | |
tree | 51b6c29734e8e1848f07cc9b31794bae28bd6c3c /ext/mysqlnd/mysqlnd_wireprotocol.c | |
parent | eed3637d84a9809aa8415b453dee3fdcbf07d19d (diff) | |
download | php-git-d877d186766fe43121510e6f48797dd33e060e35.tar.gz |
Error on by-ref assign to overloaded prop returning ref
This error was already thrown if __get() was used -- however not
if it returned by reference. This is incorrect, because the
reference return makes no difference to a by-reference assignment,
which has reference-breaking semantics. The result was that the
assignment was accepted silently, even though it didn't do anything
(not even the value was assigned, let alone the reference).
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.c')
0 files changed, 0 insertions, 0 deletions