What is the use of PHP compact function?

Posted by Andre Scott | Updated on

PHP compact function receives each key and tries to search a variable with that same name. If a variable is found, then it builds an associate array.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers