How can normalization techniques be applied to improve the storage and retrieval of multiple values in PHP?

When storing multiple values in PHP, normalization techniques can be applied to improve storage and retrieval efficiency. One common approach is to use arrays to store related values together, rather than individual variables. This makes it easier to manage and retrieve the data, as well as reducing the overall complexity of the code.

// Using arrays to store multiple values
$user = [
    'name' => 'John Doe',
    'email' => 'johndoe@example.com',
    'age' => 30
];

// Retrieving values from the array
echo $user['name']; // Output: John Doe
echo $user['email']; // Output: johndoe@example.com
echo $user['age']; // Output: 30