xref: /PHP-8.0/ext/pcre/tests/005.phpt (revision f8d79582)
1--TEST--
2abusing preg_match_all() #2
3--FILE--
4<?php
5// this file is not used in the cron job
6// use it to test the gcc regex with the sample data provided
7
8$sampledata = "
9/p2/var/php_gcov/PHP_4_4/ext/ming/ming.c: In function `zif_swfbitmap_init':
10/p2/var/php_gcov/PHP_4_4/ext/ming/ming.c:323: warning: assignment from incompatible pointer type
11/p2/var/php_gcov/PHP_4_4/ext/ming/ming.c: In function `zif_swftextfield_setFont':
12/p2/var/php_gcov/PHP_4_4/ext/ming/ming.c:2597: warning: passing arg 2 of `SWFTextField_setFont' from incompatible pointer type
13/p2/var/php_gcov/PHP_4_4/ext/oci8/oci8.c:1027: warning: `oci_ping' defined but not used
14/p2/var/php_gcov/PHP_4_4/ext/posix/posix.c: In function `zif_posix_getpgid':
15/p2/var/php_gcov/PHP_4_4/ext/posix/posix.c:484: warning: implicit declaration of function `getpgid'
16/p2/var/php_gcov/PHP_4_4/ext/posix/posix.c: In function `zif_posix_getsid':
17/p2/var/php_gcov/PHP_4_4/ext/posix/posix.c:506: warning: implicit declaration of function `getsid'
18/p2/var/php_gcov/PHP_4_4/ext/session/mod_files.c: In function `ps_read_files':
19/p2/var/php_gcov/PHP_4_4/ext/session/mod_files.c:302: warning: implicit declaration of function `pread'
20/p2/var/php_gcov/PHP_4_4/ext/session/mod_files.c: In function `ps_write_files':
21/p2/var/php_gcov/PHP_4_4/ext/session/mod_files.c:340: warning: implicit declaration of function `pwrite'
22/p2/var/php_gcov/PHP_4_4/ext/sockets/sockets.c: In function `zif_socket_get_option':
23/p2/var/php_gcov/PHP_4_4/ext/sockets/sockets.c:1862: warning: unused variable `timeout'
24/p2/var/php_gcov/PHP_4_4/ext/sockets/sockets.c: In function `zif_socket_set_option':
25/p2/var/php_gcov/PHP_4_4/ext/sockets/sockets.c:1941: warning: unused variable `timeout'
26/p2/var/php_gcov/PHP_4_4/regex/regexec.c:19: warning: `nope' defined but not used
27/p2/var/php_gcov/PHP_4_4/ext/standard/exec.c:50: warning: `php_make_safe_mode_command' defined but not used
28/p2/var/php_gcov/PHP_4_4/ext/standard/image.c: In function `php_handle_jpc':
29/p2/var/php_gcov/PHP_4_4/ext/standard/image.c:604: warning: unused variable `dummy_int'
30/p2/var/php_gcov/PHP_4_4/ext/standard/parsedate.c: In function `php_gd_parse':
31/p2/var/php_gcov/PHP_4_4/ext/standard/parsedate.c:1138: warning: implicit declaration of function `php_gd_lex'
32/p2/var/php_gcov/PHP_4_4/ext/standard/parsedate.y: At top level:
33/p2/var/php_gcov/PHP_4_4/ext/standard/parsedate.y:864: warning: return type defaults to `int'
34/p2/var/php_gcov/PHP_4_4/ext/sysvmsg/sysvmsg.c: In function `zif_msg_receive':
35/p2/var/php_gcov/PHP_4_4/ext/sysvmsg/sysvmsg.c:318: warning: passing arg 2 of `php_var_unserialize' from incompatible pointer type
36/p2/var/php_gcov/PHP_4_4/ext/yp/yp.c: In function `zif_yp_err_string':
37/p2/var/php_gcov/PHP_4_4/ext/yp/yp.c:372: warning: assignment discards qualifiers from pointer target type
38Zend/zend_language_scanner.c:5944: warning: `yy_fatal_error' defined but not used
39Zend/zend_language_scanner.c:2627: warning: `yy_last_accepting_state' defined but not used
40Zend/zend_language_scanner.c:2628: warning: `yy_last_accepting_cpos' defined but not used
41Zend/zend_language_scanner.c:2634: warning: `yy_more_flag' defined but not used
42Zend/zend_language_scanner.c:2635: warning: `yy_more_len' defined but not used
43Zend/zend_language_scanner.c:5483: warning: `yyunput' defined but not used
44Zend/zend_language_scanner.c:5929: warning: `yy_top_state' defined but not used
45conflicts: 2 shift/reduce
46Zend/zend_ini_scanner.c:457: warning: `yy_last_accepting_state' defined but not used
47Zend/zend_ini_scanner.c:458: warning: `yy_last_accepting_cpos' defined but not used
48Zend/zend_ini_scanner.c:1361: warning: `yyunput' defined but not used
49/p2/var/php_gcov/PHP_4_4/Zend/zend_alloc.c: In function `_safe_emalloc':
50/p2/var/php_gcov/PHP_4_4/Zend/zend_alloc.c:237: warning: long int format, size_t arg (arg 3)
51/p2/var/php_gcov/PHP_4_4/Zend/zend_alloc.c:237: warning: long int format, size_t arg (arg 4)
52/p2/var/php_gcov/PHP_4_4/Zend/zend_alloc.c:237: warning: long int format, size_t arg (arg 5)
53/p2/var/php_gcov/PHP_4_4/Zend/zend_ini.c:338: warning: `zend_ini_displayer_cb' defined but not used
54ext/mysql/libmysql/my_tempnam.o(.text+0x80): In function `my_tempnam':
55/p2/var/php_gcov/PHP_4_4/ext/mysql/libmysql/my_tempnam.c:115: warning: the use of `tempnam' is dangerous, better use `mkstemp'
56ext/mysql/libmysql/my_tempnam.o(.text+0x80): In function `my_tempnam':
57/p2/var/php_gcov/PHP_4_4/ext/mysql/libmysql/my_tempnam.c:115: warning: the use of `tempnam' is dangerous, better use `mkstemp'
58ext/ming/ming.o(.text+0xc115): In function `zim_swfmovie_namedAnchor':
59/p2/var/php_gcov/PHP_5_2/ext/ming/ming.c:2207: undefined reference to `SWFMovie_namedAnchor'
60/p2/var/php_gcov/PHP_5_2/ext/ming/ming.c:2209: undefined reference to `SWFMovie_xpto'
61/p2/var/php_gcov/PHP_5_2/ext/ming/ming.c:2259: undefined reference to `SWFMovie_foo'
62ext/ming/ming.o(.text+0x851): In function `zif_ming_setSWFCompression':
63/p2/var/php_gcov/PHP_5_2/ext/ming/ming.c:154: undefined reference to `Ming_setSWFCompression'
64";
65
66    // Regular expression to select the error and warning information
67    // tuned for gcc 3.4, 4.0 and 4.1
68    $gcc_regex = '/^((.+)(\(\.text\+0x[[:xdigit:]]+\))?: In function [`\'](\w+)\':\s+)?'.
69        '((?(1)(?(3)[^:\n]+|\2)|[^:\n]+)):(\d+): (?:(error|warning):\s+)?(.+)'.
70        str_repeat('(?:\s+\5:(\d+): (?:(error|warning):\s+)?(.+))?', 99). // capture up to 100 errors
71        '/mS';
72
73
74var_dump(preg_match_all($gcc_regex, $sampledata, $m, PREG_SET_ORDER));
75print_r($m);
76
77?>
78--EXPECT--
79int(24)
80Array
81(
82    [0] => Array
83        (
84            [0] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c: In function `zif_swfbitmap_init':
85/p2/var/php_gcov/PHP_4_4/ext/ming/ming.c:323: warning: assignment from incompatible pointer type
86            [1] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c: In function `zif_swfbitmap_init':
87
88            [2] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c
89            [3] =>
90            [4] => zif_swfbitmap_init
91            [5] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c
92            [6] => 323
93            [7] => warning
94            [8] => assignment from incompatible pointer type
95        )
96
97    [1] => Array
98        (
99            [0] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c: In function `zif_swftextfield_setFont':
100/p2/var/php_gcov/PHP_4_4/ext/ming/ming.c:2597: warning: passing arg 2 of `SWFTextField_setFont' from incompatible pointer type
101            [1] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c: In function `zif_swftextfield_setFont':
102
103            [2] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c
104            [3] =>
105            [4] => zif_swftextfield_setFont
106            [5] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c
107            [6] => 2597
108            [7] => warning
109            [8] => passing arg 2 of `SWFTextField_setFont' from incompatible pointer type
110        )
111
112    [2] => Array
113        (
114            [0] => /p2/var/php_gcov/PHP_4_4/ext/oci8/oci8.c:1027: warning: `oci_ping' defined but not used
115            [1] =>
116            [2] =>
117            [3] =>
118            [4] =>
119            [5] => /p2/var/php_gcov/PHP_4_4/ext/oci8/oci8.c
120            [6] => 1027
121            [7] => warning
122            [8] => `oci_ping' defined but not used
123        )
124
125    [3] => Array
126        (
127            [0] => /p2/var/php_gcov/PHP_4_4/ext/posix/posix.c: In function `zif_posix_getpgid':
128/p2/var/php_gcov/PHP_4_4/ext/posix/posix.c:484: warning: implicit declaration of function `getpgid'
129            [1] => /p2/var/php_gcov/PHP_4_4/ext/posix/posix.c: In function `zif_posix_getpgid':
130
131            [2] => /p2/var/php_gcov/PHP_4_4/ext/posix/posix.c
132            [3] =>
133            [4] => zif_posix_getpgid
134            [5] => /p2/var/php_gcov/PHP_4_4/ext/posix/posix.c
135            [6] => 484
136            [7] => warning
137            [8] => implicit declaration of function `getpgid'
138        )
139
140    [4] => Array
141        (
142            [0] => /p2/var/php_gcov/PHP_4_4/ext/posix/posix.c: In function `zif_posix_getsid':
143/p2/var/php_gcov/PHP_4_4/ext/posix/posix.c:506: warning: implicit declaration of function `getsid'
144            [1] => /p2/var/php_gcov/PHP_4_4/ext/posix/posix.c: In function `zif_posix_getsid':
145
146            [2] => /p2/var/php_gcov/PHP_4_4/ext/posix/posix.c
147            [3] =>
148            [4] => zif_posix_getsid
149            [5] => /p2/var/php_gcov/PHP_4_4/ext/posix/posix.c
150            [6] => 506
151            [7] => warning
152            [8] => implicit declaration of function `getsid'
153        )
154
155    [5] => Array
156        (
157            [0] => /p2/var/php_gcov/PHP_4_4/ext/session/mod_files.c: In function `ps_read_files':
158/p2/var/php_gcov/PHP_4_4/ext/session/mod_files.c:302: warning: implicit declaration of function `pread'
159            [1] => /p2/var/php_gcov/PHP_4_4/ext/session/mod_files.c: In function `ps_read_files':
160
161            [2] => /p2/var/php_gcov/PHP_4_4/ext/session/mod_files.c
162            [3] =>
163            [4] => ps_read_files
164            [5] => /p2/var/php_gcov/PHP_4_4/ext/session/mod_files.c
165            [6] => 302
166            [7] => warning
167            [8] => implicit declaration of function `pread'
168        )
169
170    [6] => Array
171        (
172            [0] => /p2/var/php_gcov/PHP_4_4/ext/session/mod_files.c: In function `ps_write_files':
173/p2/var/php_gcov/PHP_4_4/ext/session/mod_files.c:340: warning: implicit declaration of function `pwrite'
174            [1] => /p2/var/php_gcov/PHP_4_4/ext/session/mod_files.c: In function `ps_write_files':
175
176            [2] => /p2/var/php_gcov/PHP_4_4/ext/session/mod_files.c
177            [3] =>
178            [4] => ps_write_files
179            [5] => /p2/var/php_gcov/PHP_4_4/ext/session/mod_files.c
180            [6] => 340
181            [7] => warning
182            [8] => implicit declaration of function `pwrite'
183        )
184
185    [7] => Array
186        (
187            [0] => /p2/var/php_gcov/PHP_4_4/ext/sockets/sockets.c: In function `zif_socket_get_option':
188/p2/var/php_gcov/PHP_4_4/ext/sockets/sockets.c:1862: warning: unused variable `timeout'
189            [1] => /p2/var/php_gcov/PHP_4_4/ext/sockets/sockets.c: In function `zif_socket_get_option':
190
191            [2] => /p2/var/php_gcov/PHP_4_4/ext/sockets/sockets.c
192            [3] =>
193            [4] => zif_socket_get_option
194            [5] => /p2/var/php_gcov/PHP_4_4/ext/sockets/sockets.c
195            [6] => 1862
196            [7] => warning
197            [8] => unused variable `timeout'
198        )
199
200    [8] => Array
201        (
202            [0] => /p2/var/php_gcov/PHP_4_4/ext/sockets/sockets.c: In function `zif_socket_set_option':
203/p2/var/php_gcov/PHP_4_4/ext/sockets/sockets.c:1941: warning: unused variable `timeout'
204            [1] => /p2/var/php_gcov/PHP_4_4/ext/sockets/sockets.c: In function `zif_socket_set_option':
205
206            [2] => /p2/var/php_gcov/PHP_4_4/ext/sockets/sockets.c
207            [3] =>
208            [4] => zif_socket_set_option
209            [5] => /p2/var/php_gcov/PHP_4_4/ext/sockets/sockets.c
210            [6] => 1941
211            [7] => warning
212            [8] => unused variable `timeout'
213        )
214
215    [9] => Array
216        (
217            [0] => /p2/var/php_gcov/PHP_4_4/regex/regexec.c:19: warning: `nope' defined but not used
218            [1] =>
219            [2] =>
220            [3] =>
221            [4] =>
222            [5] => /p2/var/php_gcov/PHP_4_4/regex/regexec.c
223            [6] => 19
224            [7] => warning
225            [8] => `nope' defined but not used
226        )
227
228    [10] => Array
229        (
230            [0] => /p2/var/php_gcov/PHP_4_4/ext/standard/exec.c:50: warning: `php_make_safe_mode_command' defined but not used
231            [1] =>
232            [2] =>
233            [3] =>
234            [4] =>
235            [5] => /p2/var/php_gcov/PHP_4_4/ext/standard/exec.c
236            [6] => 50
237            [7] => warning
238            [8] => `php_make_safe_mode_command' defined but not used
239        )
240
241    [11] => Array
242        (
243            [0] => /p2/var/php_gcov/PHP_4_4/ext/standard/image.c: In function `php_handle_jpc':
244/p2/var/php_gcov/PHP_4_4/ext/standard/image.c:604: warning: unused variable `dummy_int'
245            [1] => /p2/var/php_gcov/PHP_4_4/ext/standard/image.c: In function `php_handle_jpc':
246
247            [2] => /p2/var/php_gcov/PHP_4_4/ext/standard/image.c
248            [3] =>
249            [4] => php_handle_jpc
250            [5] => /p2/var/php_gcov/PHP_4_4/ext/standard/image.c
251            [6] => 604
252            [7] => warning
253            [8] => unused variable `dummy_int'
254        )
255
256    [12] => Array
257        (
258            [0] => /p2/var/php_gcov/PHP_4_4/ext/standard/parsedate.c: In function `php_gd_parse':
259/p2/var/php_gcov/PHP_4_4/ext/standard/parsedate.c:1138: warning: implicit declaration of function `php_gd_lex'
260            [1] => /p2/var/php_gcov/PHP_4_4/ext/standard/parsedate.c: In function `php_gd_parse':
261
262            [2] => /p2/var/php_gcov/PHP_4_4/ext/standard/parsedate.c
263            [3] =>
264            [4] => php_gd_parse
265            [5] => /p2/var/php_gcov/PHP_4_4/ext/standard/parsedate.c
266            [6] => 1138
267            [7] => warning
268            [8] => implicit declaration of function `php_gd_lex'
269        )
270
271    [13] => Array
272        (
273            [0] => /p2/var/php_gcov/PHP_4_4/ext/standard/parsedate.y:864: warning: return type defaults to `int'
274            [1] =>
275            [2] =>
276            [3] =>
277            [4] =>
278            [5] => /p2/var/php_gcov/PHP_4_4/ext/standard/parsedate.y
279            [6] => 864
280            [7] => warning
281            [8] => return type defaults to `int'
282        )
283
284    [14] => Array
285        (
286            [0] => /p2/var/php_gcov/PHP_4_4/ext/sysvmsg/sysvmsg.c: In function `zif_msg_receive':
287/p2/var/php_gcov/PHP_4_4/ext/sysvmsg/sysvmsg.c:318: warning: passing arg 2 of `php_var_unserialize' from incompatible pointer type
288            [1] => /p2/var/php_gcov/PHP_4_4/ext/sysvmsg/sysvmsg.c: In function `zif_msg_receive':
289
290            [2] => /p2/var/php_gcov/PHP_4_4/ext/sysvmsg/sysvmsg.c
291            [3] =>
292            [4] => zif_msg_receive
293            [5] => /p2/var/php_gcov/PHP_4_4/ext/sysvmsg/sysvmsg.c
294            [6] => 318
295            [7] => warning
296            [8] => passing arg 2 of `php_var_unserialize' from incompatible pointer type
297        )
298
299    [15] => Array
300        (
301            [0] => /p2/var/php_gcov/PHP_4_4/ext/yp/yp.c: In function `zif_yp_err_string':
302/p2/var/php_gcov/PHP_4_4/ext/yp/yp.c:372: warning: assignment discards qualifiers from pointer target type
303            [1] => /p2/var/php_gcov/PHP_4_4/ext/yp/yp.c: In function `zif_yp_err_string':
304
305            [2] => /p2/var/php_gcov/PHP_4_4/ext/yp/yp.c
306            [3] =>
307            [4] => zif_yp_err_string
308            [5] => /p2/var/php_gcov/PHP_4_4/ext/yp/yp.c
309            [6] => 372
310            [7] => warning
311            [8] => assignment discards qualifiers from pointer target type
312        )
313
314    [16] => Array
315        (
316            [0] => Zend/zend_language_scanner.c:5944: warning: `yy_fatal_error' defined but not used
317Zend/zend_language_scanner.c:2627: warning: `yy_last_accepting_state' defined but not used
318Zend/zend_language_scanner.c:2628: warning: `yy_last_accepting_cpos' defined but not used
319Zend/zend_language_scanner.c:2634: warning: `yy_more_flag' defined but not used
320Zend/zend_language_scanner.c:2635: warning: `yy_more_len' defined but not used
321Zend/zend_language_scanner.c:5483: warning: `yyunput' defined but not used
322Zend/zend_language_scanner.c:5929: warning: `yy_top_state' defined but not used
323            [1] =>
324            [2] =>
325            [3] =>
326            [4] =>
327            [5] => Zend/zend_language_scanner.c
328            [6] => 5944
329            [7] => warning
330            [8] => `yy_fatal_error' defined but not used
331            [9] => 2627
332            [10] => warning
333            [11] => `yy_last_accepting_state' defined but not used
334            [12] => 2628
335            [13] => warning
336            [14] => `yy_last_accepting_cpos' defined but not used
337            [15] => 2634
338            [16] => warning
339            [17] => `yy_more_flag' defined but not used
340            [18] => 2635
341            [19] => warning
342            [20] => `yy_more_len' defined but not used
343            [21] => 5483
344            [22] => warning
345            [23] => `yyunput' defined but not used
346            [24] => 5929
347            [25] => warning
348            [26] => `yy_top_state' defined but not used
349        )
350
351    [17] => Array
352        (
353            [0] => Zend/zend_ini_scanner.c:457: warning: `yy_last_accepting_state' defined but not used
354Zend/zend_ini_scanner.c:458: warning: `yy_last_accepting_cpos' defined but not used
355Zend/zend_ini_scanner.c:1361: warning: `yyunput' defined but not used
356            [1] =>
357            [2] =>
358            [3] =>
359            [4] =>
360            [5] => Zend/zend_ini_scanner.c
361            [6] => 457
362            [7] => warning
363            [8] => `yy_last_accepting_state' defined but not used
364            [9] => 458
365            [10] => warning
366            [11] => `yy_last_accepting_cpos' defined but not used
367            [12] => 1361
368            [13] => warning
369            [14] => `yyunput' defined but not used
370        )
371
372    [18] => Array
373        (
374            [0] => /p2/var/php_gcov/PHP_4_4/Zend/zend_alloc.c: In function `_safe_emalloc':
375/p2/var/php_gcov/PHP_4_4/Zend/zend_alloc.c:237: warning: long int format, size_t arg (arg 3)
376/p2/var/php_gcov/PHP_4_4/Zend/zend_alloc.c:237: warning: long int format, size_t arg (arg 4)
377/p2/var/php_gcov/PHP_4_4/Zend/zend_alloc.c:237: warning: long int format, size_t arg (arg 5)
378            [1] => /p2/var/php_gcov/PHP_4_4/Zend/zend_alloc.c: In function `_safe_emalloc':
379
380            [2] => /p2/var/php_gcov/PHP_4_4/Zend/zend_alloc.c
381            [3] =>
382            [4] => _safe_emalloc
383            [5] => /p2/var/php_gcov/PHP_4_4/Zend/zend_alloc.c
384            [6] => 237
385            [7] => warning
386            [8] => long int format, size_t arg (arg 3)
387            [9] => 237
388            [10] => warning
389            [11] => long int format, size_t arg (arg 4)
390            [12] => 237
391            [13] => warning
392            [14] => long int format, size_t arg (arg 5)
393        )
394
395    [19] => Array
396        (
397            [0] => /p2/var/php_gcov/PHP_4_4/Zend/zend_ini.c:338: warning: `zend_ini_displayer_cb' defined but not used
398            [1] =>
399            [2] =>
400            [3] =>
401            [4] =>
402            [5] => /p2/var/php_gcov/PHP_4_4/Zend/zend_ini.c
403            [6] => 338
404            [7] => warning
405            [8] => `zend_ini_displayer_cb' defined but not used
406        )
407
408    [20] => Array
409        (
410            [0] => ext/mysql/libmysql/my_tempnam.o(.text+0x80): In function `my_tempnam':
411/p2/var/php_gcov/PHP_4_4/ext/mysql/libmysql/my_tempnam.c:115: warning: the use of `tempnam' is dangerous, better use `mkstemp'
412            [1] => ext/mysql/libmysql/my_tempnam.o(.text+0x80): In function `my_tempnam':
413
414            [2] => ext/mysql/libmysql/my_tempnam.o
415            [3] => (.text+0x80)
416            [4] => my_tempnam
417            [5] => /p2/var/php_gcov/PHP_4_4/ext/mysql/libmysql/my_tempnam.c
418            [6] => 115
419            [7] => warning
420            [8] => the use of `tempnam' is dangerous, better use `mkstemp'
421        )
422
423    [21] => Array
424        (
425            [0] => ext/mysql/libmysql/my_tempnam.o(.text+0x80): In function `my_tempnam':
426/p2/var/php_gcov/PHP_4_4/ext/mysql/libmysql/my_tempnam.c:115: warning: the use of `tempnam' is dangerous, better use `mkstemp'
427            [1] => ext/mysql/libmysql/my_tempnam.o(.text+0x80): In function `my_tempnam':
428
429            [2] => ext/mysql/libmysql/my_tempnam.o
430            [3] => (.text+0x80)
431            [4] => my_tempnam
432            [5] => /p2/var/php_gcov/PHP_4_4/ext/mysql/libmysql/my_tempnam.c
433            [6] => 115
434            [7] => warning
435            [8] => the use of `tempnam' is dangerous, better use `mkstemp'
436        )
437
438    [22] => Array
439        (
440            [0] => ext/ming/ming.o(.text+0xc115): In function `zim_swfmovie_namedAnchor':
441/p2/var/php_gcov/PHP_5_2/ext/ming/ming.c:2207: undefined reference to `SWFMovie_namedAnchor'
442/p2/var/php_gcov/PHP_5_2/ext/ming/ming.c:2209: undefined reference to `SWFMovie_xpto'
443/p2/var/php_gcov/PHP_5_2/ext/ming/ming.c:2259: undefined reference to `SWFMovie_foo'
444            [1] => ext/ming/ming.o(.text+0xc115): In function `zim_swfmovie_namedAnchor':
445
446            [2] => ext/ming/ming.o
447            [3] => (.text+0xc115)
448            [4] => zim_swfmovie_namedAnchor
449            [5] => /p2/var/php_gcov/PHP_5_2/ext/ming/ming.c
450            [6] => 2207
451            [7] =>
452            [8] => undefined reference to `SWFMovie_namedAnchor'
453            [9] => 2209
454            [10] =>
455            [11] => undefined reference to `SWFMovie_xpto'
456            [12] => 2259
457            [13] =>
458            [14] => undefined reference to `SWFMovie_foo'
459        )
460
461    [23] => Array
462        (
463            [0] => ext/ming/ming.o(.text+0x851): In function `zif_ming_setSWFCompression':
464/p2/var/php_gcov/PHP_5_2/ext/ming/ming.c:154: undefined reference to `Ming_setSWFCompression'
465            [1] => ext/ming/ming.o(.text+0x851): In function `zif_ming_setSWFCompression':
466
467            [2] => ext/ming/ming.o
468            [3] => (.text+0x851)
469            [4] => zif_ming_setSWFCompression
470            [5] => /p2/var/php_gcov/PHP_5_2/ext/ming/ming.c
471            [6] => 154
472            [7] =>
473            [8] => undefined reference to `Ming_setSWFCompression'
474        )
475
476)
477