create a 2D array from 2 single D array

can anyone help me out with code to create a 2 dimension array from 2 single dimension array. for example
$path = array(‘base’, ‘category’, ‘subcategory’, ‘item’);
now i need to have a @D array which have the following structure

Sponsor our Newsletter | Privacy Policy | Terms of Service