xref: /dokuwiki/lib/plugins/config/_test/data/config.php (revision 6388dc346f9c31ce34f8fc9477bec92ec6a69d2a)
1cba21baaSAndreas Gohr<?php
2cba21baaSAndreas Gohr
3cba21baaSAndreas Gohr
4cba21baaSAndreas Gohr$conf['int1'] = 42;
5cba21baaSAndreas Gohr$conf['int2'] = 6*7;
6cba21baaSAndreas Gohr
7cba21baaSAndreas Gohr$conf['str1']  = 'Hello World';
8cba21baaSAndreas Gohr$conf['str2']  = 'G\'day World';
9cba21baaSAndreas Gohr$conf['str3']  = "Hello World";
10cba21baaSAndreas Gohr$conf['str4']  = "Hello 'World'";
11cba21baaSAndreas Gohr$conf['str5']  = "Hello \"World\"";
12cba21baaSAndreas Gohr
13a24fc53eSAndreas Gohr$conf['arr1']  = array('foo','bar', 'baz');
14a24fc53eSAndreas Gohr
15cba21baaSAndreas Gohr$conf['foo']['bar'] = 'x1';
16cba21baaSAndreas Gohr$conf['foo']['baz'] = 'x2';
17*6388dc34SGerrit Uitslag
18*6388dc34SGerrit Uitslag$conf['onoff1'] = 0;
19*6388dc34SGerrit Uitslag$conf['onoff2'] = 1;
20*6388dc34SGerrit Uitslag$conf['onoff3'] = 2;
21*6388dc34SGerrit Uitslag$conf['onoff4'] = '0';
22*6388dc34SGerrit Uitslag$conf['onoff5'] = '1';
23*6388dc34SGerrit Uitslag$conf['onoff6'] = false;
24*6388dc34SGerrit Uitslag$conf['onoff7'] = true;
25*6388dc34SGerrit Uitslag$conf['onoff8'] = 'false';
26*6388dc34SGerrit Uitslag$conf['onoff9'] = 'true';
27*6388dc34SGerrit Uitslag
28*6388dc34SGerrit Uitslag$conf['str11']  = 'false senctence';
29*6388dc34SGerrit Uitslag$conf['str12']  = 'true sentence';
30*6388dc34SGerrit Uitslag$conf['str13']  = 'truesfdf';
31*6388dc34SGerrit Uitslag$conf['str14']  = "true";
32*6388dc34SGerrit Uitslag$conf['str15']  = "truesfdsf";
33