1--- %YAML:1.0 2test: Empty Sequence 3brief: > 4 You can represent the empty sequence 5 with an empty inline sequence. 6yaml: | 7 empty: [] 8php: | 9 ['empty' => []] 10--- 11test: Empty Mapping 12brief: > 13 You can represent the empty mapping 14 with an empty inline mapping. 15yaml: | 16 empty: {} 17php: | 18 ['empty' => []] 19--- 20test: Empty Sequence as Entire Document 21yaml: | 22 [] 23php: | 24 [] 25--- 26test: Empty Mapping as Entire Document 27yaml: | 28 {} 29php: | 30 [] 31--- 32test: Null as Document 33yaml: | 34 ~ 35php: | 36 null 37--- 38test: Empty String 39brief: > 40 You can represent an empty string 41 with a pair of quotes. 42yaml: | 43 '' 44php: | 45 '' 46