/[web]/fidd/lib/fabpot-yaml/test/fixtures/YtsNullsAndEmpties.yml
ViewVC logotype

Contents of /fidd/lib/fabpot-yaml/test/fixtures/YtsNullsAndEmpties.yml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1081 - (show annotations) (download)
Mon May 14 09:16:32 2012 UTC (11 years, 11 months ago) by rda
File size: 725 byte(s)
add library and var dir
1 --- %YAML:1.0
2 test: Empty Sequence
3 brief: >
4 You can represent the empty sequence
5 with an empty inline sequence.
6 yaml: |
7 empty: []
8 php: |
9 array('empty' => array())
10 ---
11 test: Empty Mapping
12 brief: >
13 You can represent the empty mapping
14 with an empty inline mapping.
15 yaml: |
16 empty: {}
17 php: |
18 array('empty' => array())
19 ---
20 test: Empty Sequence as Entire Document
21 yaml: |
22 []
23 php: |
24 array()
25 ---
26 test: Empty Mapping as Entire Document
27 yaml: |
28 {}
29 php: |
30 array()
31 ---
32 test: Null as Document
33 yaml: |
34 ~
35 php: |
36 null
37 ---
38 test: Empty String
39 brief: >
40 You can represent an empty string
41 with a pair of quotes.
42 yaml: |
43 ''
44 php: |
45 ''

  ViewVC Help
Powered by ViewVC 1.1.30