compact
ahmard/quick-route
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Create array containing variables and their values
<?php compact
(array|
string $var_name
, array|
string
...
$var_names
): array