array[0] in php code example Example: ccreate array php $array = array( "foo" => "bar", "bar" => "foo", );