|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2017-10-24 01:31 UTC] kalle@php.net
 
-Status: Open
+Status: Verified
  [2017-10-26 02:19 UTC] laruence@php.net
  [2017-10-26 02:19 UTC] laruence@php.net
 
-Status: Verified
+Status: Closed
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 01:00:01 2025 UTC | 
Description: ------------ $name is changed from string to int in the __isset() call, so that the subsequent __get() call crashes. Test script: --------------- <?php class Test { public function __isset($x) { $GLOBALS['name'] = 24; return true; } public function __get($x) { var_dump($x); return 42; } } $obj = new Test; $name = "foo"; var_dump($obj->$name ?? 12);