You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
370 B
24 lines
370 B
4 years ago
|
--- %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'
|
||
|
]
|