the use and syntex of compact
Answers
Answered by
1
Answer:
The compact() function is an inbuilt function in PHP and it is used to create an array using variables. This function is opposite of extract() function. It creates an associative array whose keys are variable names and their corresponding values are array values.
Similar questions