X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Fyaml%2FTests%2FFixtures%2FnumericMappingKeys.yml;fp=vendor%2Fsymfony%2Fyaml%2FTests%2FFixtures%2FnumericMappingKeys.yml;h=9cfb7713a5c2ed98ad2bb77eff3a2b478c0b2fc9;hp=0000000000000000000000000000000000000000;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/symfony/yaml/Tests/Fixtures/numericMappingKeys.yml b/vendor/symfony/yaml/Tests/Fixtures/numericMappingKeys.yml new file mode 100644 index 000000000..9cfb7713a --- /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' + )