[php-src] PR #15012: Disallow indirect modification on readonly properties within __clone()
| From: | iluuu1994 | Date: | Thu, 18 Jul 2024 16:08:31 +0000 |
| Subject: | [php-src] PR #15012: Disallow indirect modification on readonly properties within __clone() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27348@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15012
Author: iluuu1994
Indirect modification isn't allowed in __construct() because it allows references to leak, so
it doesn't make much sense to allow it in __clone().