PHP compact() Function
The compact() function creates an array from variables and their values. Note: Any strings that does not match variable names will be skipped. Can be a string with the variable name, or an array of variables. Multiple parameters are allowed. Parameter Description var1 Required. Can be a string with the variable name, or an array […]