| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 | --- %YAML:1.0test: Multiple quoted string on one linebrief: >    Multiple quoted string on one lineyaml: |    stripped_title: { name: "foo bar", help: "bar foo" }php: |    ['stripped_title' => ['name' => 'foo bar', 'help' => 'bar foo']]---test: Empty sequenceyaml: |    foo: [ ]php: |    ['foo' => []]---test: Empty valueyaml: |    foo:php: |    ['foo' => null]---test: Inline string parsingbrief: >    Inline string parsingyaml: |    test: ['complex: string', 'another [string]']php: |    ['test' => ['complex: string', 'another [string]']]---test: Booleanbrief: >    Booleanyaml: |    - false    - true    - null    - ~    - 'false'    - 'true'    - 'null'    - '~'php: |    [      false,      true,      null,      null,      'false',      'true',      'null',      '~',    ]---test: Empty lines in literal blocksbrief: >  Empty lines in literal blocksyaml: |  foo:    bar: |      foo              barphp: |  ['foo' => ['bar' => "foo\n\n\n  \nbar\n"]]---test: Empty lines in folded blocksbrief: >  Empty lines in folded blocksyaml: |  foo:    bar: >      foo            barphp: |  ['foo' => ['bar' => "\nfoo\n\nbar\n"]]---test: IP addressesbrief: >  IP addressesyaml: |  foo: 10.0.0.2php: |  ['foo' => '10.0.0.2']---test: A sequence with an embedded mappingbrief: >  A sequence with an embedded mappingyaml: |  - foo  - bar: { bar: foo }php: |  ['foo', ['bar' => ['bar' => 'foo']]]---test: Octalbrief: as in spec example 2.19, octal value is convertedyaml: |  foo: 0123php: |  ['foo' => 83]---test: Octal stringsbrief: Octal notation in a string must remain a stringyaml: |  foo: "0123"php: |  ['foo' => '0123']---test: Octal stringsbrief: Octal notation in a string must remain a stringyaml: |  foo: '0123'php: |  ['foo' => '0123']---test: Octal stringsbrief: Octal notation in a string must remain a stringyaml: |  foo: |    0123php: |  ['foo' => "0123\n"]---test: Document as a simple hashbrief: Document as a simple hashyaml: |  { foo: bar }php: |  ['foo' => 'bar']---test: Document as a simple arraybrief: Document as a simple arrayyaml: |  [ foo, bar ]php: |  ['foo', 'bar']
 |