On Mon, Mar 4, 2024, at 3:45 PM, Robert Landers wrote: > I would think that simply using return-to-set would be the simplest > solution, if you need to run something after it's set, you can use the > regular way of running code after a return: > > try { > return $value + 100; > } finally { > // this runs after returning > }
That would not work. Fun fact, the finally block runs *before* return. (This is a common point of confusion.) So this would still not allow for statements to run after the assignment itself (the return) happens. --Larry Garfield