Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/yaml/Tests/Fixtures/numericMappingKeys.yml')
-rw-r--r--vendor/symfony/yaml/Tests/Fixtures/numericMappingKeys.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/symfony/yaml/Tests/Fixtures/numericMappingKeys.yml b/vendor/symfony/yaml/Tests/Fixtures/numericMappingKeys.yml
new file mode 100644
index 0000000..9cfb771
--- /dev/null
+++ b/vendor/symfony/yaml/Tests/Fixtures/numericMappingKeys.yml
@@ -0,0 +1,23 @@
+--- %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'
+ )