TplBlock/vendor/symfony/yaml/Tests/Fixtures/numericMappingKeys.yml
2018-03-26 21:57:35 +02:00

24 lines
380 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: |
array(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: |
array(
1 => 'one',
2 => 'two',
3 => 'three'
)