Create post-HADVAs expect files
[hiphop-php.git] / hphp / test / zend / good / ext / standard / tests / general_functions / parse_ini_string_001.php.expectf.hadva
blob4d079d4fd052fed1665e72b0fd2c8db0b07acd14
1 *** Test parse_ini_string() function:  with various keys and values given in string ***
2 -- ini string without process_sections optional arg --
3 Dict
5     [one] => 1
6     [five] => 5
7     [animal] => Humming bird
8     [Language] => PHP
9     [PHP_CONSTANT] => 1.2345678
10     [10] => Ten
11     [HELLO] => HELLO
12     [date] => 
13     [time] => 
14     [path] => /usr/local/bin
15     [URL] => http://www.php.net
16     [Decimal_value1] => 100
17     [Decimal_value2] => -100
18     [Decimal_value3] => -2147483647
19     [Decimal_value4] => 2147483647
20     [Decimal_value5] => -2147483648
21     [Decimal_value6] => 2147483648
22     [Octal_value] => 0100
23     [Hex_value1] => 0x101
24     [Hex_Value2] => 0x103
25     [Non_alpha1] => 
26     [Non_alpha2] => +
27     [Non_alpha3] => *
28     [Non_alpha4] => %
29     [Non_alpha5] => <>
30     [Non_alpha6] => @
31     [Non_alpha7] => #
32     [Non_alpha8] => -
33     [Non_alpha9] => :
34     [Non_alpha10] => ?
35     [Non_alpha11] => /
36     [Non_alpha12] => \
37     [Non_alpha1_quotes] => ;
38     [Non_alpha2_quotes] => +
39     [Non_alpha3_quotes] => *
40     [Non_alpha4_quotes] => %
41     [Non_alpha5_quotes] => <>
42     [Non_alpha6_quotes] => @
43     [Non_alpha7_quotes] => #
44     [Non_alpha8_quotes] => ^
45     [Non_alpha9_quotes] => -
46     [Non_alpha10_quotes] => =
47     [Non_alpha11_quotes] => :
48     [Non_alpha12_quotes] => ?
49     [Non_alpha13_quotes] => /
50     [Non_alpha15_quotes] => &
51     [Non_alpha16_quotes] => {}
52     [Non_alpha17_quotes] => |
53     [Non_alpha18_quotes] => ~
54     [Non_alpha19_quotes] => !
55     [Non_alpha21_quotes] => ()
56     [Non_alpha_string1] => Hello@world
57     [Non_alpha_string1_quotes] => Hello@world
58     [Non_alpha_string2_quotes] => Hello!world
59     [Non_alpha_string3_quotes] => Hello#world
60     [Non_alpha_string4_quotes] => Hello&world
61     [Non_alpha_string5_quotes] => Hello*world
62     [Non_alpha_string6_quotes] => Hello+world
63     [Non_alpha_string7_quotes] => Hello-world
64     [Non_alpha_string8_quotes] => Hello'world
65     [Non_alpha_string9_quotes] => Hello:world
66     [Non_alpha_string10_quotes] => Hello;world
67     [Non_alpha_string11_quotes] => Hello<world
68     [Non_alpha_string12_quotes] => Hello>world
69     [Non_alpha_string13_quotes] => Hello>world
70     [Non_alpha_string14_quotes] => Hello?world
71     [Non_alpha_string15_quotes] => Hello\world
72     [Non_alpha_string16_quotes] => Hello^world
73     [Non_alpha_string17_quotes] => Hello_world
74     [Non_alpha_string18_quotes] => Hello|world
75     [Non_alpha_string19_quotes] => Hello~world
76     [Non_alpha_string20_quotes] => Hello`world
77     [Non_alpha_string21_quotes] => Hello(world)
78     [String1] => Hello, world
79 Good Morning
80     [String2] => 
81 Hello, world
82              Good Morning
84     [String3] => Hello, world   Good Morning
85     [String4] => 
87     [String5] => 
90     [String6] => Hello, world   Good Morning
91     [Key1] => 1
92     [Key2] => 1
93     [Key3] => 1
94     [Key4] => 
95     [Key5] => 
96     [Key6] => 
97     [Key7] => 1
98     [Key8] => 1
99     [Key9] => 1
100     [Key10] => 1
101     [Key11] => 
102     [Key12] => 
103     [Key13] => 
104     [Key14] => 
105     [Key15] => 
106     [Key16] => 
107     [Key17] => 
108     [Key18] => 
111 -- ini string with process_sections as TRUE --
112 Dict
114     [Constans] => Dict
115         (
116             [one] => 1
117             [five] => 5
118             [animal] => Humming bird
119             [Language] => PHP
120             [PHP_CONSTANT] => 1.2345678
121             [10] => Ten
122             [HELLO] => HELLO
123         )
125     [date] => Dict
126         (
127             [date] => 
128             [time] => 
129         )
131     [paths] => Dict
132         (
133             [path] => /usr/local/bin
134             [URL] => http://www.php.net
135         )
137     [Decimal] => Dict
138         (
139             [Decimal_value1] => 100
140             [Decimal_value2] => -100
141             [Decimal_value3] => -2147483647
142             [Decimal_value4] => 2147483647
143             [Decimal_value5] => -2147483648
144             [Decimal_value6] => 2147483648
145         )
147     [Octal] => Dict
148         (
149             [Octal_value] => 0100
150         )
152     [Hex] => Dict
153         (
154             [Hex_value1] => 0x101
155             [Hex_Value2] => 0x103
156         )
158     [Non-alphanumerics_as_values] => Dict
159         (
160             [Non_alpha1] => 
161             [Non_alpha2] => +
162             [Non_alpha3] => *
163             [Non_alpha4] => %
164             [Non_alpha5] => <>
165             [Non_alpha6] => @
166             [Non_alpha7] => #
167             [Non_alpha8] => -
168             [Non_alpha9] => :
169             [Non_alpha10] => ?
170             [Non_alpha11] => /
171             [Non_alpha12] => \
172             [Non_alpha1_quotes] => ;
173             [Non_alpha2_quotes] => +
174             [Non_alpha3_quotes] => *
175             [Non_alpha4_quotes] => %
176             [Non_alpha5_quotes] => <>
177             [Non_alpha6_quotes] => @
178             [Non_alpha7_quotes] => #
179             [Non_alpha8_quotes] => ^
180             [Non_alpha9_quotes] => -
181             [Non_alpha10_quotes] => =
182             [Non_alpha11_quotes] => :
183             [Non_alpha12_quotes] => ?
184             [Non_alpha13_quotes] => /
185             [Non_alpha15_quotes] => &
186             [Non_alpha16_quotes] => {}
187             [Non_alpha17_quotes] => |
188             [Non_alpha18_quotes] => ~
189             [Non_alpha19_quotes] => !
190             [Non_alpha21_quotes] => ()
191         )
193     [Non-alpha numerics in strings] => Dict
194         (
195             [Non_alpha_string1] => Hello@world
196         )
198     [Non-alpha numerics in strings -with quotes] => Dict
199         (
200             [Non_alpha_string1_quotes] => Hello@world
201             [Non_alpha_string2_quotes] => Hello!world
202             [Non_alpha_string3_quotes] => Hello#world
203             [Non_alpha_string4_quotes] => Hello&world
204             [Non_alpha_string5_quotes] => Hello*world
205             [Non_alpha_string6_quotes] => Hello+world
206             [Non_alpha_string7_quotes] => Hello-world
207             [Non_alpha_string8_quotes] => Hello'world
208             [Non_alpha_string9_quotes] => Hello:world
209             [Non_alpha_string10_quotes] => Hello;world
210             [Non_alpha_string11_quotes] => Hello<world
211             [Non_alpha_string12_quotes] => Hello>world
212             [Non_alpha_string13_quotes] => Hello>world
213             [Non_alpha_string14_quotes] => Hello?world
214             [Non_alpha_string15_quotes] => Hello\world
215             [Non_alpha_string16_quotes] => Hello^world
216             [Non_alpha_string17_quotes] => Hello_world
217             [Non_alpha_string18_quotes] => Hello|world
218             [Non_alpha_string19_quotes] => Hello~world
219             [Non_alpha_string20_quotes] => Hello`world
220             [Non_alpha_string21_quotes] => Hello(world)
221         )
223     [Newlines_in_Values] => Dict
224         (
225             [String1] => Hello, world
226 Good Morning
227             [String2] => 
228 Hello, world
229              Good Morning
231             [String3] => Hello, world   Good Morning
232             [String4] => 
234             [String5] => 
237             [String6] => Hello, world   Good Morning
238         )
240     [ReservedKeys_as_Values] => Dict
241         (
242             [Key1] => 1
243             [Key2] => 1
244             [Key3] => 1
245             [Key4] => 
246             [Key5] => 
247             [Key6] => 
248             [Key7] => 1
249             [Key8] => 1
250             [Key9] => 1
251             [Key10] => 1
252             [Key11] => 
253             [Key12] => 
254             [Key13] => 
255             [Key14] => 
256             [Key15] => 
257             [Key16] => 
258             [Key17] => 
259             [Key18] => 
260         )
262     [ReservedKeys_as_Keys] => Dict
263         (
264         )
267 *** Done **