Bug #71359 [Com]: Coalescing operator on classes with overridden __get() method

From: Date: Mon, 04 Apr 2016 08:05:27 +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-200337@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: arjen at react 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: Then it's not in the NEWS file ;) https://github.com/php/php-src/blob/PHP-7.0/NEWS Previous Comments: ------------------------------------------------------------------------ [2016-04-01 14:51:19] krakjoe@php.net It was merged into 7.0 too. ------------------------------------------------------------------------ [2016-04-01 13:44:49] arjen at react dot com This is only fixed in master, what about 7.0? See https://bugs.php.net/bug.php?id=50813 and https://github.com/php/php-src/commit/373da7aa6f5e7bf57d434fd449f97770fb479d3e Similar issue when using ?? and offsetSet/offsetExists and ArrayAccess (https://bugs.php.net/bug.php?id=71731) has been fixed in 7.0. ------------------------------------------------------------------------ [2016-03-26 11:11:55] krakjoe@php.net The fix for this bug has been committed. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2016-03-20 17:39:18] nikic@php.net The root cause for this is bug #50813. ------------------------------------------------------------------------ [2016-01-13 20:21:17] requinix@php.net https://3v4l.org/HBQRr ($x ?? $y) is defined as being equivalent to (isset($x) ? $x : $y) so __isset() should be getting called. ------------------------------------------------------------------------ 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

« previous php.bugs (#200337) next »