compact() Is Recursive

no-email (Damien Seguy), Damien Seguy
Mon, 03 Mar 2025 00:00:00 +0000

``compact()`` accepts an array of strings... and arrays. It uses the available arguments recursively, yet produces an array with only one level: the deep nesting is lots at compacting type.
In fact, if the variables are indeed available at compact() time, compact flattens the array, and turns it into a simple list.
It also means that it is prone to recursive error.