sfQuotes.yml 741 B

123456789101112131415161718192021222324252627282930313233
  1. --- %YAML:1.0
  2. test: Some characters at the beginning of a string must be escaped
  3. brief: >
  4. Some characters at the beginning of a string must be escaped
  5. yaml: |
  6. foo: | bar
  7. php: |
  8. array('foo' => '| bar')
  9. ---
  10. test: A key can be a quoted string
  11. brief: >
  12. A key can be a quoted string
  13. yaml: |
  14. "foo1": bar
  15. 'foo2': bar
  16. "foo \" bar": bar
  17. 'foo '' bar': bar
  18. 'foo3: ': bar
  19. "foo4: ": bar
  20. foo5: { "foo \" bar: ": bar, 'foo '' bar: ': bar }
  21. php: |
  22. array(
  23. 'foo1' => 'bar',
  24. 'foo2' => 'bar',
  25. 'foo " bar' => 'bar',
  26. 'foo \' bar' => 'bar',
  27. 'foo3: ' => 'bar',
  28. 'foo4: ' => 'bar',
  29. 'foo5' => array(
  30. 'foo " bar: ' => 'bar',
  31. 'foo \' bar: ' => 'bar',
  32. ),
  33. )