What are some best practices for creating nested arrays in PHP?

When creating nested arrays in PHP, it's important to follow some best practices to ensure readability and maintainability of your code. One common approach is to use descriptive keys for each nested array to make it easier to understand the structure. Additionally, you can use indentation and proper formatting to visually represent the hierarchy of the nested arrays.

// Example of creating nested arrays in PHP
$nestedArray = [
    'first_level' => [
        'second_level' => [
            'third_level' => 'value'
        ]
    ]
];