I have the following pseudocode
The book says it returns a array of powerset for any give set "recursively".
Now how can we translate this pseudocode into PHP?