php array from array code example Example: ccreate array php $array = array( "foo" => "bar", "bar" => "foo", );