$customer = array('first' => 'R', 'last' => 'W', 'age' => 24, ); extract($customer); print "$first $last is $age years old."; extract($customer, EXTR_PREFIX_ALL, 'cust'); print "$cust_first $cust_last is $cust_age years old."; ?>
$first $last is $age years old.
$cust_first $cust_last is $cust_age years old.