PATH:
opt
/
alt
/
tests
/
alt-php85-pecl-yaml_2.2.3-2.el8
/
tests
--TEST-- Yaml 1.1 Spec - merge --SKIPIF-- <?php if(!extension_loaded('yaml')) die('skip yaml n/a'); ?> --FILE-- <?php var_dump(yaml_parse(' --- - &CENTER { x: 1, "y": 2 } - &LEFT { x: 0, "y": 2 } - &BIG { r: 10 } - &SMALL { r: 1 } # All the following maps are equal: - # Explicit keys x: 1 "y": 2 r: 10 label: center/big - # Merge one map << : *CENTER r: 10 label: center/big - # Merge multiple maps << : [ *CENTER, *BIG ] label: center/big - # Override << : [ *BIG, *LEFT, *SMALL ] x: 1 label: center/big ')); ?> --EXPECT-- array(8) { [0]=> array(2) { ["x"]=> int(1) ["y"]=> int(2) } [1]=> array(2) { ["x"]=> int(0) ["y"]=> int(2) } [2]=> array(1) { ["r"]=> int(10) } [3]=> array(1) { ["r"]=> int(1) } [4]=> array(4) { ["x"]=> int(1) ["y"]=> int(2) ["r"]=> int(10) ["label"]=> string(10) "center/big" } [5]=> array(4) { ["x"]=> int(1) ["y"]=> int(2) ["r"]=> int(10) ["label"]=> string(10) "center/big" } [6]=> array(4) { ["x"]=> int(1) ["y"]=> int(2) ["r"]=> int(10) ["label"]=> string(10) "center/big" } [7]=> array(4) { ["r"]=> int(10) ["x"]=> int(1) ["y"]=> int(2) ["label"]=> string(10) "center/big" } }
[-] yaml_parse_wiki_YtsStrangeKeys_002.phpt
[edit]
[-] yaml_parse_006.phpt
[edit]
[-] yaml_parse_007.phpt
[edit]
[-] yaml_parse_wiki_YtsMapInSeq_002.phpt
[edit]
[-] bug_69617.phpt
[edit]
[-] yaml_parse_wiki_YtsBasicTests_009.phpt
[edit]
[-] bug_77720.phpt
[edit]
[-] yaml_parse_spec_set.phpt
[edit]
[-] bug_75029.phpt
[edit]
[-] yaml_parse_wiki_YtsBasicTests_004.phpt
[edit]
[-] yaml_emit_002.phpt
[edit]
[-] bug_64694.phpt
[edit]
[-] yaml_parse_wiki_YtsBasicTests_006.phpt
[edit]
[-] yaml_001.phpt
[edit]
[-] bug_64019.phpt
[edit]
[-] yaml_parse_wiki_YtsMapInSeq_001.phpt
[edit]
[-] yaml_emit_009.phpt
[edit]
[-] yaml_emit_004.phpt
[edit]
[-] yaml_parse_wiki_YtsBasicTests_001.phpt
[edit]
[-] yaml_parse_wiki_YtsBlockMapping_003.phpt
[edit]
[-] yaml_emit_003.phpt
[edit]
[-] bug_74799.phpt
[edit]
[-] yaml_emit_file_basic.phpt
[edit]
[-] yaml_parse_004.phpt
[edit]
[-] bug_80324.phpt
[edit]
[-] yaml_parse_wiki_YtsMapInSeq_003.phpt
[edit]
[-] bug_79866.phpt
[edit]
[-] bug_76309.phpt
[edit]
[-] bug_21995.phpt
[edit]
[-] yaml_parse_url_001.phpt
[edit]
[-] yaml_parse_wiki_YtsBlockMapping_004.phpt
[edit]
[-] yaml_parse_spec_merge.phpt
[edit]
[-] yaml_parse_wiki_YtsBasicTests_002.phpt
[edit]
[-] bug_61770.phpt
[edit]
[-] yaml_parse_008.phpt
[edit]
[-] bug_60628.phpt
[edit]
[-] yaml_parse_file_001.phpt
[edit]
[-] yaml_parse_spec_timestamp.phpt
[edit]
[-] yaml_parse_wiki_YtsBlockMapping_001.phpt
[edit]
[-] yaml_002.phpt
[edit]
[-] yaml_parse_spec_seq.phpt
[edit]
[+]
..
[-] yaml_parse_spec_map.phpt
[edit]
[-] yaml_parse_wiki_YtsBasicTests_007.phpt
[edit]
[-] yaml_parse_002.phpt
[edit]
[-] bug_72204.phpt
[edit]
[-] bug_69465.phpt
[edit]
[-] yaml_emit_008.phpt
[edit]
[-] bug_59860.phpt
[edit]
[-] yaml_parse_wiki_YtsBasicTests_008.phpt
[edit]
[-] yaml_parse_spec_pairs.phpt
[edit]
[-] bug_parsing_alias.phpt
[edit]
[-] yaml_parse_file_001.yaml
[edit]
[-] yaml_parse_spec_int.phpt
[edit]
[-] yaml_emit_006.phpt
[edit]
[-] yaml_parse_wiki_YtsStrangeKeys_001.phpt
[edit]
[-] yaml_parse_005.phpt
[edit]
[-] yaml_parse_wiki_YtsBlockMapping_002.phpt
[edit]
[-] bug_79567.phpt
[edit]
[-] bug_79494.phpt
[edit]
[-] yaml_parse_spec_omap.phpt
[edit]
[-] bug_72540.phpt
[edit]
[-] bug_61923.phpt
[edit]
[-] yaml_parse_spec_float.phpt
[edit]
[-] yaml_parse_wiki_YtsBasicTests_005.phpt
[edit]
[-] yaml_parse_file_002.phpt
[edit]
[-] bug_74799.yaml
[edit]
[-] yaml_emit_001.phpt
[edit]
[-] yaml_parse_001.phpt
[edit]
[-] yaml_emit_007.phpt
[edit]
[-] yaml_parse_wiki_YtsBasicTests_003.phpt
[edit]
[-] yaml_parse_003.phpt
[edit]
[-] yaml_parse_spec_bool.phpt
[edit]
[-] yaml_parse_spec_binary.phpt
[edit]
[-] yaml_parse_spec_str.phpt
[edit]
[-] yaml_emit_005.phpt
[edit]
[-] yaml_parse_spec_null.phpt
[edit]
[-] bug_69616.phpt
[edit]