Lines Matching refs:array
14 $array[] = 'Sequence item';
15 $array['The Key'] = 'Mapped value';
16 $array[] = array('A sequence','of a sequence');
17 $array[] = array('first' => 'A sequence','second' => 'of mapped values');
18 $array['Mapped'] = array('A sequence','which is mapped');
19 $array['A Note'] = 'What if your text is too long?';
20 $array['Another Note'] = 'If that is the case, the dumper will probably fold your text by using a b…
21 $array['The trick?'] = 'The trick is that we overrode the default indent, 2, to 4 and the default w…
22 $array['Old Dog'] = "And if you want\n to preserve line breaks, \ngo ahead!";
23 $array['key:withcolon'] = "Should support this to";
25 $yaml = Spyc::YAMLDump($array,4,60);