gmarche/vendor/symfony/yaml/Tests/Fixtures/numericMappingKeys.yml

24 lines
370 B
YAML

--- %YAML:1.0
test: A sequence with an unordered array
brief: >
A sequence with an unordered array
yaml: |
1: foo
0: bar
php: |
[1 => 'foo', 0 => 'bar']
---
test: Integers as Map Keys
brief: >
An integer can be used as dictionary key.
yaml: |
1: one
2: two
3: three
php: |
[
1 => 'one',
2 => 'two',
3 => 'three'
]