Register now or log in to join your professional community.
-The compact() function creates an array from variables and their values
- The extract() function imports variables into the local symbol table from an array
compact create array from local variables while extract creates local variables from array.
compact: Create array containing variables and their values
And
extract: Import variables into the current symbol table from an array