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