X7ROOT File Manager
Current Path:
/opt/alt/tests/alt-php81-pecl-yaml_2.2.3-1.el8/tests
opt
/
alt
/
tests
/
alt-php81-pecl-yaml_2.2.3-1.el8
/
tests
/
ðŸ“
..
📄
bug_21995.phpt
(393 B)
📄
bug_59860.phpt
(1.61 KB)
📄
bug_60628.phpt
(1.48 KB)
📄
bug_61770.phpt
(259 B)
📄
bug_61923.phpt
(1.15 KB)
📄
bug_64019.phpt
(684 B)
📄
bug_64694.phpt
(419 B)
📄
bug_69465.phpt
(802 B)
📄
bug_69616.phpt
(418 B)
📄
bug_69617.phpt
(314 B)
📄
bug_72204.phpt
(400 B)
📄
bug_72540.phpt
(258 B)
📄
bug_74799.phpt
(833 B)
📄
bug_74799.yaml
(21 B)
📄
bug_75029.phpt
(410 B)
📄
bug_76309.phpt
(334 B)
📄
bug_77720.phpt
(12.32 KB)
📄
bug_79494.phpt
(609 B)
📄
bug_79567.phpt
(331 B)
📄
bug_79866.phpt
(939 B)
📄
bug_80324.phpt
(443 B)
📄
bug_parsing_alias.phpt
(684 B)
📄
yaml_001.phpt
(1.08 KB)
📄
yaml_002.phpt
(1.07 KB)
📄
yaml_emit_001.phpt
(2.22 KB)
📄
yaml_emit_002.phpt
(1.91 KB)
📄
yaml_emit_003.phpt
(1.62 KB)
📄
yaml_emit_004.phpt
(336 B)
📄
yaml_emit_005.phpt
(345 B)
📄
yaml_emit_006.phpt
(3.66 KB)
📄
yaml_emit_007.phpt
(405 B)
📄
yaml_emit_008.phpt
(1.45 KB)
📄
yaml_emit_009.phpt
(1.19 KB)
📄
yaml_emit_file_basic.phpt
(1.87 KB)
📄
yaml_parse_001.phpt
(3.44 KB)
📄
yaml_parse_002.phpt
(645 B)
📄
yaml_parse_003.phpt
(723 B)
📄
yaml_parse_004.phpt
(471 B)
📄
yaml_parse_005.phpt
(1.94 KB)
📄
yaml_parse_006.phpt
(1.62 KB)
📄
yaml_parse_007.phpt
(408 B)
📄
yaml_parse_008.phpt
(2.29 KB)
📄
yaml_parse_file_001.phpt
(1.54 KB)
📄
yaml_parse_file_001.yaml
(644 B)
📄
yaml_parse_file_002.phpt
(1.29 KB)
📄
yaml_parse_spec_binary.phpt
(1021 B)
📄
yaml_parse_spec_bool.phpt
(339 B)
📄
yaml_parse_spec_float.phpt
(538 B)
📄
yaml_parse_spec_int.phpt
(494 B)
📄
yaml_parse_spec_map.phpt
(661 B)
📄
yaml_parse_spec_merge.phpt
(1.33 KB)
📄
yaml_parse_spec_null.phpt
(787 B)
📄
yaml_parse_spec_omap.phpt
(1.01 KB)
📄
yaml_parse_spec_pairs.phpt
(926 B)
📄
yaml_parse_spec_seq.phpt
(1.33 KB)
📄
yaml_parse_spec_set.phpt
(378 B)
📄
yaml_parse_spec_str.phpt
(219 B)
📄
yaml_parse_spec_timestamp.phpt
(729 B)
📄
yaml_parse_url_001.phpt
(1.55 KB)
📄
yaml_parse_wiki_YtsBasicTests_001.phpt
(527 B)
📄
yaml_parse_wiki_YtsBasicTests_002.phpt
(537 B)
📄
yaml_parse_wiki_YtsBasicTests_003.phpt
(607 B)
📄
yaml_parse_wiki_YtsBasicTests_004.phpt
(531 B)
📄
yaml_parse_wiki_YtsBasicTests_005.phpt
(596 B)
📄
yaml_parse_wiki_YtsBasicTests_006.phpt
(482 B)
📄
yaml_parse_wiki_YtsBasicTests_007.phpt
(567 B)
📄
yaml_parse_wiki_YtsBasicTests_008.phpt
(898 B)
📄
yaml_parse_wiki_YtsBasicTests_009.phpt
(557 B)
📄
yaml_parse_wiki_YtsBlockMapping_001.phpt
(362 B)
📄
yaml_parse_wiki_YtsBlockMapping_002.phpt
(459 B)
📄
yaml_parse_wiki_YtsBlockMapping_003.phpt
(530 B)
📄
yaml_parse_wiki_YtsBlockMapping_004.phpt
(482 B)
📄
yaml_parse_wiki_YtsMapInSeq_001.phpt
(445 B)
📄
yaml_parse_wiki_YtsMapInSeq_002.phpt
(425 B)
📄
yaml_parse_wiki_YtsMapInSeq_003.phpt
(438 B)
📄
yaml_parse_wiki_YtsStrangeKeys_001.phpt
(386 B)
📄
yaml_parse_wiki_YtsStrangeKeys_002.phpt
(470 B)
Editing: yaml_parse_001.phpt
--TEST-- yaml_parse - general --SKIPIF-- <?php if(!extension_loaded('yaml')) die('skip yaml n/a'); ?> --INI-- yaml.decode_timestamp=1 date.timezone=GMT --FILE-- <?php var_dump(yaml_parse(' --- !<tag:clarkevans.com,2002:invoice> invoice: 34843 date : 2001-01-23 bill-to: &id001 given : Chris family : Dumars address: lines: | 458 Walkman Dr. Suite #292 city : Royal Oak state : MI postal : 48046 ship-to: *id001 product: - sku : BL394D quantity : 4 description : Basketball price : 450.00 - sku : BL4438H quantity : 1 description : Super Hoop price : 2392.00 tax : 251.42 total: 4443.52 comments: Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338. ')); var_dump(yaml_parse(' --- Time: 2001-11-23 15:01:42 -5 User: ed Warning: This is an error message for the log file --- Time: 2001-11-23 15:02:31 -5 User: ed Warning: A slightly different error message. --- Date: 2001-11-23 15:03:17 -5 User: ed Fatal: Unknown variable "bar" Stack: - file: TopClass.py line: 23 code: | x = MoreObject("345\n") - file: MoreClass.py line: 58 code: |- foo = bar ', -1)); ?> --EXPECT-- array(8) { ["invoice"]=> int(34843) ["date"]=> int(980208000) ["bill-to"]=> &array(3) { ["given"]=> string(5) "Chris" ["family"]=> string(6) "Dumars" ["address"]=> array(4) { ["lines"]=> string(27) "458 Walkman Dr. Suite #292 " ["city"]=> string(9) "Royal Oak" ["state"]=> string(2) "MI" ["postal"]=> int(48046) } } ["ship-to"]=> &array(3) { ["given"]=> string(5) "Chris" ["family"]=> string(6) "Dumars" ["address"]=> array(4) { ["lines"]=> string(27) "458 Walkman Dr. Suite #292 " ["city"]=> string(9) "Royal Oak" ["state"]=> string(2) "MI" ["postal"]=> int(48046) } } ["product"]=> array(2) { [0]=> array(4) { ["sku"]=> string(6) "BL394D" ["quantity"]=> int(4) ["description"]=> string(10) "Basketball" ["price"]=> float(450) } [1]=> array(4) { ["sku"]=> string(7) "BL4438H" ["quantity"]=> int(1) ["description"]=> string(10) "Super Hoop" ["price"]=> float(2392) } } ["tax"]=> float(251.42) ["total"]=> float(4443.52) ["comments"]=> string(68) "Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338." } array(3) { [0]=> array(3) { ["Time"]=> int(1006545702) ["User"]=> string(2) "ed" ["Warning"]=> string(41) "This is an error message for the log file" } [1]=> array(3) { ["Time"]=> int(1006545751) ["User"]=> string(2) "ed" ["Warning"]=> string(35) "A slightly different error message." } [2]=> array(4) { ["Date"]=> int(1006545797) ["User"]=> string(2) "ed" ["Fatal"]=> string(22) "Unknown variable "bar"" ["Stack"]=> array(2) { [0]=> array(3) { ["file"]=> string(11) "TopClass.py" ["line"]=> int(23) ["code"]=> string(24) "x = MoreObject("345\n") " } [1]=> array(3) { ["file"]=> string(12) "MoreClass.py" ["line"]=> int(58) ["code"]=> string(9) "foo = bar" } } } }
Upload File
Create Folder