3 ms·
Well, what PHP does similarly avoids the risk of accidentally mutating shared values, but it's not the same: • the value is locally mutable • no duplication h
by TazeTSchnitzel 5y ago
Well, what PHP does similarly avoids the risk of accidentally mutating shared values, but it's not the same:
• the value is locally mutable
• no duplication happens when you want to modify it and there is only a single reference