legacyBooleanMappingKeys.yml 313 B

123456789101112131415161718192021222324
  1. --- %YAML:1.0
  2. test: Miscellaneous
  3. spec: 2.21
  4. yaml: |
  5. true: true
  6. false: false
  7. php: |
  8. array(
  9. 1 => true,
  10. 0 => false,
  11. )
  12. ---
  13. test: Boolean
  14. yaml: |
  15. false: used as key
  16. logical: true
  17. answer: false
  18. php: |
  19. array(
  20. false => 'used as key',
  21. 'logical' => true,
  22. 'answer' => false
  23. )