Bug #71359 [Com]: Coalescing operator on classes with overridden __get() method
| From: | kostasxx at gmail dot com | Date: | Wed, 15 Jun 2016 07:14:14 +0000 |
| Subject: | Bug #71359 [Com]: Coalescing operator on classes with overridden __get() method | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-201632@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71359&edit=1
ID: 71359
Comment by: kostasxx at gmail dot com
Reported by: kostasxx at gmail dot com
Summary: Coalescing operator on classes with overridden
__get() method
Status: Closed
Type: Bug
Package: Scripting Engine problem
Operating System: Linux 4.1.13
PHP Version: 7.0.2
Assigned To: krakjoe
Block user comment: N
Private report: N
New Comment:
I don't think it needs another issue. It's still the same, in different approach.
The first code example I used had, besides __get(), the __isset() method overridden. That part of
the bug is, indeed, fixed.
The issue still occurs when the __isset() is not overridden. So, the bug that is related to __get()
override still, partially, exists.
See here please: https://3v4l.org/RMS3W
Thanks :)
Previous Comments:
------------------------------------------------------------------------
[2016-06-15 07:08:07] krakjoe@php.net
Open a new report please, someone will look at it.
------------------------------------------------------------------------
[2016-06-15 07:05:36] kostasxx at gmail dot com
It isn't exactly the same error. The error appears when __isset() is not defined. Then, it
executes first __get() before native isset().
See here: https://3v4l.org/RMS3W
------------------------------------------------------------------------
[2016-06-15 05:40:07] krakjoe@php.net
I don't see it: https://3v4l.org/f0KrS
------------------------------------------------------------------------
[2016-06-15 03:12:11] frej dot akki at gmail dot com
this bug has been resurfaced in 7.0.6/7
------------------------------------------------------------------------
[2016-04-04 08:23:13] krakjoe@php.net
My commits are bad, and I feel bad ... added ;)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=71359
--
Edit this bug report at https://bugs.php.net/bug.php?id=71359&edit=1