mirror of
https://github.com/php/php-src.git
synced 2026-04-21 15:08:16 +02:00
44e5d25300
Class constants from parents should always be directly reused, rather than re-evaluated as a separate copy. Previously this used to happen automatically, as we'd just inherit the class constant entry from the parent class. With mutable data there may now be a separate copy of the constant, so we need to use that copy when updating constants. Otherwise we may evaluate the same constant multiple times. Closes GH-7658.
36 KiB
36 KiB