I have array like this: $test = array(20, 30, 40);
And I want to set a multi-dimension array with using these values: $example[20][30][40] = 'string'
How can I do this?
Note: “20, 30, 40” just an example, my program will print some integers, and I want to set a multi-dimension array with these values and it can be more than 3 values.