@gcb Sorry, something ate all-important quotes the first time around. Here's a correction:
% echo $((x+1))
% echo $PATH
(The original `x=(PATH=2)` without quotes doesn't actually perform any eval.)
Does it make sense now? This is indeed quite subtle.
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!