1--- 2test: One Element Mapping 3brief: | 4 A mapping with one key/value pair 5yaml: | 6 foo: bar 7php: | 8 ['foo' => 'bar'] 9--- 10test: Multi Element Mapping 11brief: | 12 More than one key/value pair 13yaml: | 14 red: baron 15 white: walls 16 blue: berries 17php: | 18 [ 19 'red' => 'baron', 20 'white' => 'walls', 21 'blue' => 'berries', 22 ] 23--- 24test: Values aligned 25brief: | 26 Often times human editors of documents will align the values even 27 though YAML emitters generally don't. 28yaml: | 29 red: baron 30 white: walls 31 blue: berries 32php: | 33 [ 34 'red' => 'baron', 35 'white' => 'walls', 36 'blue' => 'berries', 37 ] 38--- 39test: Colons aligned 40brief: | 41 Spaces can come before the ': ' key/value separator. 42yaml: | 43 red : baron 44 white : walls 45 blue : berries 46php: | 47 [ 48 'red' => 'baron', 49 'white' => 'walls', 50 'blue' => 'berries', 51 ] 52