<?php $arr = array('fruit' => 'mango', 'vegetable' => 'tomato', 'thing' => 'bag'); echo $arr['fruit']; /*OUTPUT mango*/ ?>