I've learned that a pure function is a function that doesn't alter global state, period. If this is true, functions within functions can alter the state of the
I am trying to identify pure functions in PHP code. A pure function is one where both these statements about the function hold: The function always evaluates