drupal-civicrm/vendor/symfony/yaml/Tests/Fixtures/numericMappingKeys.yml

24 lines
380 B
YAML
Raw Permalink Normal View History

2018-01-14 15:10:16 +02:00
--- %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'
)