Q. Which PHP function compacts variables into an array?
β
Correct Answer: (B)
compact()
Explanation: compact() creates an array from variables.