Hello !
you want to fetch a 2 dimensional array with php
as index ( 1 ,2 ,3 ,4 ,5 ) just require incrementation, literals like [name, value] needs to be enclose for a call :
echo $output[0]['name'] ;
belonging to the php.ini quotes apply , maybe
echo $output[0]["name"] ;
check and set php.ini to fix your favorite one.
official resource :
PHP: Hypertext Preprocessor[
^]