xref: /PHP-7.3/ext/oci8/tests/dbmsoutput.phpt (revision bdd67d81)
1--TEST--
2PL/SQL: dbms_output
3--SKIPIF--
4<?php
5$target_dbs = array('oracledb' => true, 'timesten' => false);  // test runs on these DBs
6require(dirname(__FILE__).'/skipif.inc');
7?>
8--FILE--
9<?php
10
11require(dirname(__FILE__).'/connect.inc');
12
13// Initialization
14
15$stmtarray = array(
16    "create or replace procedure dbmsoutput_proc as
17      begin
18        dbms_output.put_line('Hello World!');
19      end;",
20
21    "create or replace type dorow as table of varchar2(4000)",
22
23    "create or replace function mydofetch return dorow pipelined is
24    line    varchar2(4000);
25    status  integer;
26    begin
27      loop
28        dbms_output.get_line(line, status);
29        exit when status = 1;
30        pipe row (line);
31      end loop;
32      return;
33    end;"
34);
35
36oci8_test_sql_execute($c, $stmtarray);
37
38// Run Test
39
40// Turn DBMS_OUTPUT on
41function setserveroutputon($c)
42{
43    $s = oci_parse($c, "begin dbms_output.enable(null); end;");
44    oci_execute($s);
45}
46
47// Create some output
48function createoutput($c, $prefix)
49{
50    $s = oci_parse($c, "call dbms_output.put_line(:bv1 || ' ' || :bv2 || ' Hello, world! Lots and lots and ... of text')");
51    oci_bind_by_name($s, ":bv1", $i, -1, SQLT_INT);
52    oci_bind_by_name($s, ":bv2", $prefix);
53    for ($i = 0; $i < 100; ++$i) {
54        oci_execute($s);
55    }
56}
57
58// Call dbms_output.get_line()
59// Returns an array of DBMS_OUTPUT lines, or false.
60function getdbmsoutput_do($c)
61{
62    $s = oci_parse($c, "begin dbms_output.get_line(:ln, :st); end;");
63    oci_bind_by_name($s, ":ln", $ln, 100);
64    oci_bind_by_name($s, ":st", $st, -1, SQLT_INT);
65    $res = false;
66    while (($succ = oci_execute($s)) && !$st) {
67        $res[] = $ln;  // append each line to the array
68    }
69    return $res;
70}
71
72function getdbmsoutput_do2($c)
73{
74	$orignumlines = $numlines = 100;
75	$s = oci_parse($c, "begin dbms_output.get_lines(:lines, :numlines); end;");
76	$r = oci_bind_by_name($s, ":numlines", $numlines);
77	$res = array();
78	while ($numlines >= $orignumlines) {
79		oci_bind_array_by_name($s, ":lines", $lines,  $numlines, 255, SQLT_CHR);
80		oci_execute($s);
81		if ($numlines == 0) {
82			break;
83		}
84		$res = array_merge($res, array_slice($lines, 0, $numlines));
85		unset($lines);
86	}
87	return $res;
88}
89
90function getdbmsoutput_pl($c)
91{
92    $s = oci_parse($c, "select * from table(mydofetch())");
93    oci_execute($s);
94    $res = false;
95    while ($row = oci_fetch_array($s, OCI_NUM)) {
96        $res[] = $row[0];
97    }
98    return $res;
99}
100
101echo "Test 1\n";
102
103setserveroutputon($c);   // Turn output buffering on
104
105$s = oci_parse($c, 'call dbmsoutput_proc()');
106oci_execute($s);
107var_dump(getdbmsoutput_do($c));
108
109echo "Test 2\n";
110
111createoutput($c, 'test 2');
112var_dump(getdbmsoutput_do($c));
113
114echo "Test 3\n";
115
116createoutput($c, 'test 3');
117var_dump(getdbmsoutput_do2($c));
118
119echo "Test 4\n";
120
121createoutput($c, 'test 4');
122var_dump(getdbmsoutput_pl($c));
123
124// Clean up
125
126$stmtarray = array(
127	"drop procedure dbmsoutput_proc"
128);
129
130oci8_test_sql_execute($c, $stmtarray);
131
132?>
133===DONE===
134<?php exit(0); ?>
135--EXPECT--
136Test 1
137array(1) {
138  [0]=>
139  string(12) "Hello World!"
140}
141Test 2
142array(100) {
143  [0]=>
144  string(52) "0 test 2 Hello, world! Lots and lots and ... of text"
145  [1]=>
146  string(52) "1 test 2 Hello, world! Lots and lots and ... of text"
147  [2]=>
148  string(52) "2 test 2 Hello, world! Lots and lots and ... of text"
149  [3]=>
150  string(52) "3 test 2 Hello, world! Lots and lots and ... of text"
151  [4]=>
152  string(52) "4 test 2 Hello, world! Lots and lots and ... of text"
153  [5]=>
154  string(52) "5 test 2 Hello, world! Lots and lots and ... of text"
155  [6]=>
156  string(52) "6 test 2 Hello, world! Lots and lots and ... of text"
157  [7]=>
158  string(52) "7 test 2 Hello, world! Lots and lots and ... of text"
159  [8]=>
160  string(52) "8 test 2 Hello, world! Lots and lots and ... of text"
161  [9]=>
162  string(52) "9 test 2 Hello, world! Lots and lots and ... of text"
163  [10]=>
164  string(53) "10 test 2 Hello, world! Lots and lots and ... of text"
165  [11]=>
166  string(53) "11 test 2 Hello, world! Lots and lots and ... of text"
167  [12]=>
168  string(53) "12 test 2 Hello, world! Lots and lots and ... of text"
169  [13]=>
170  string(53) "13 test 2 Hello, world! Lots and lots and ... of text"
171  [14]=>
172  string(53) "14 test 2 Hello, world! Lots and lots and ... of text"
173  [15]=>
174  string(53) "15 test 2 Hello, world! Lots and lots and ... of text"
175  [16]=>
176  string(53) "16 test 2 Hello, world! Lots and lots and ... of text"
177  [17]=>
178  string(53) "17 test 2 Hello, world! Lots and lots and ... of text"
179  [18]=>
180  string(53) "18 test 2 Hello, world! Lots and lots and ... of text"
181  [19]=>
182  string(53) "19 test 2 Hello, world! Lots and lots and ... of text"
183  [20]=>
184  string(53) "20 test 2 Hello, world! Lots and lots and ... of text"
185  [21]=>
186  string(53) "21 test 2 Hello, world! Lots and lots and ... of text"
187  [22]=>
188  string(53) "22 test 2 Hello, world! Lots and lots and ... of text"
189  [23]=>
190  string(53) "23 test 2 Hello, world! Lots and lots and ... of text"
191  [24]=>
192  string(53) "24 test 2 Hello, world! Lots and lots and ... of text"
193  [25]=>
194  string(53) "25 test 2 Hello, world! Lots and lots and ... of text"
195  [26]=>
196  string(53) "26 test 2 Hello, world! Lots and lots and ... of text"
197  [27]=>
198  string(53) "27 test 2 Hello, world! Lots and lots and ... of text"
199  [28]=>
200  string(53) "28 test 2 Hello, world! Lots and lots and ... of text"
201  [29]=>
202  string(53) "29 test 2 Hello, world! Lots and lots and ... of text"
203  [30]=>
204  string(53) "30 test 2 Hello, world! Lots and lots and ... of text"
205  [31]=>
206  string(53) "31 test 2 Hello, world! Lots and lots and ... of text"
207  [32]=>
208  string(53) "32 test 2 Hello, world! Lots and lots and ... of text"
209  [33]=>
210  string(53) "33 test 2 Hello, world! Lots and lots and ... of text"
211  [34]=>
212  string(53) "34 test 2 Hello, world! Lots and lots and ... of text"
213  [35]=>
214  string(53) "35 test 2 Hello, world! Lots and lots and ... of text"
215  [36]=>
216  string(53) "36 test 2 Hello, world! Lots and lots and ... of text"
217  [37]=>
218  string(53) "37 test 2 Hello, world! Lots and lots and ... of text"
219  [38]=>
220  string(53) "38 test 2 Hello, world! Lots and lots and ... of text"
221  [39]=>
222  string(53) "39 test 2 Hello, world! Lots and lots and ... of text"
223  [40]=>
224  string(53) "40 test 2 Hello, world! Lots and lots and ... of text"
225  [41]=>
226  string(53) "41 test 2 Hello, world! Lots and lots and ... of text"
227  [42]=>
228  string(53) "42 test 2 Hello, world! Lots and lots and ... of text"
229  [43]=>
230  string(53) "43 test 2 Hello, world! Lots and lots and ... of text"
231  [44]=>
232  string(53) "44 test 2 Hello, world! Lots and lots and ... of text"
233  [45]=>
234  string(53) "45 test 2 Hello, world! Lots and lots and ... of text"
235  [46]=>
236  string(53) "46 test 2 Hello, world! Lots and lots and ... of text"
237  [47]=>
238  string(53) "47 test 2 Hello, world! Lots and lots and ... of text"
239  [48]=>
240  string(53) "48 test 2 Hello, world! Lots and lots and ... of text"
241  [49]=>
242  string(53) "49 test 2 Hello, world! Lots and lots and ... of text"
243  [50]=>
244  string(53) "50 test 2 Hello, world! Lots and lots and ... of text"
245  [51]=>
246  string(53) "51 test 2 Hello, world! Lots and lots and ... of text"
247  [52]=>
248  string(53) "52 test 2 Hello, world! Lots and lots and ... of text"
249  [53]=>
250  string(53) "53 test 2 Hello, world! Lots and lots and ... of text"
251  [54]=>
252  string(53) "54 test 2 Hello, world! Lots and lots and ... of text"
253  [55]=>
254  string(53) "55 test 2 Hello, world! Lots and lots and ... of text"
255  [56]=>
256  string(53) "56 test 2 Hello, world! Lots and lots and ... of text"
257  [57]=>
258  string(53) "57 test 2 Hello, world! Lots and lots and ... of text"
259  [58]=>
260  string(53) "58 test 2 Hello, world! Lots and lots and ... of text"
261  [59]=>
262  string(53) "59 test 2 Hello, world! Lots and lots and ... of text"
263  [60]=>
264  string(53) "60 test 2 Hello, world! Lots and lots and ... of text"
265  [61]=>
266  string(53) "61 test 2 Hello, world! Lots and lots and ... of text"
267  [62]=>
268  string(53) "62 test 2 Hello, world! Lots and lots and ... of text"
269  [63]=>
270  string(53) "63 test 2 Hello, world! Lots and lots and ... of text"
271  [64]=>
272  string(53) "64 test 2 Hello, world! Lots and lots and ... of text"
273  [65]=>
274  string(53) "65 test 2 Hello, world! Lots and lots and ... of text"
275  [66]=>
276  string(53) "66 test 2 Hello, world! Lots and lots and ... of text"
277  [67]=>
278  string(53) "67 test 2 Hello, world! Lots and lots and ... of text"
279  [68]=>
280  string(53) "68 test 2 Hello, world! Lots and lots and ... of text"
281  [69]=>
282  string(53) "69 test 2 Hello, world! Lots and lots and ... of text"
283  [70]=>
284  string(53) "70 test 2 Hello, world! Lots and lots and ... of text"
285  [71]=>
286  string(53) "71 test 2 Hello, world! Lots and lots and ... of text"
287  [72]=>
288  string(53) "72 test 2 Hello, world! Lots and lots and ... of text"
289  [73]=>
290  string(53) "73 test 2 Hello, world! Lots and lots and ... of text"
291  [74]=>
292  string(53) "74 test 2 Hello, world! Lots and lots and ... of text"
293  [75]=>
294  string(53) "75 test 2 Hello, world! Lots and lots and ... of text"
295  [76]=>
296  string(53) "76 test 2 Hello, world! Lots and lots and ... of text"
297  [77]=>
298  string(53) "77 test 2 Hello, world! Lots and lots and ... of text"
299  [78]=>
300  string(53) "78 test 2 Hello, world! Lots and lots and ... of text"
301  [79]=>
302  string(53) "79 test 2 Hello, world! Lots and lots and ... of text"
303  [80]=>
304  string(53) "80 test 2 Hello, world! Lots and lots and ... of text"
305  [81]=>
306  string(53) "81 test 2 Hello, world! Lots and lots and ... of text"
307  [82]=>
308  string(53) "82 test 2 Hello, world! Lots and lots and ... of text"
309  [83]=>
310  string(53) "83 test 2 Hello, world! Lots and lots and ... of text"
311  [84]=>
312  string(53) "84 test 2 Hello, world! Lots and lots and ... of text"
313  [85]=>
314  string(53) "85 test 2 Hello, world! Lots and lots and ... of text"
315  [86]=>
316  string(53) "86 test 2 Hello, world! Lots and lots and ... of text"
317  [87]=>
318  string(53) "87 test 2 Hello, world! Lots and lots and ... of text"
319  [88]=>
320  string(53) "88 test 2 Hello, world! Lots and lots and ... of text"
321  [89]=>
322  string(53) "89 test 2 Hello, world! Lots and lots and ... of text"
323  [90]=>
324  string(53) "90 test 2 Hello, world! Lots and lots and ... of text"
325  [91]=>
326  string(53) "91 test 2 Hello, world! Lots and lots and ... of text"
327  [92]=>
328  string(53) "92 test 2 Hello, world! Lots and lots and ... of text"
329  [93]=>
330  string(53) "93 test 2 Hello, world! Lots and lots and ... of text"
331  [94]=>
332  string(53) "94 test 2 Hello, world! Lots and lots and ... of text"
333  [95]=>
334  string(53) "95 test 2 Hello, world! Lots and lots and ... of text"
335  [96]=>
336  string(53) "96 test 2 Hello, world! Lots and lots and ... of text"
337  [97]=>
338  string(53) "97 test 2 Hello, world! Lots and lots and ... of text"
339  [98]=>
340  string(53) "98 test 2 Hello, world! Lots and lots and ... of text"
341  [99]=>
342  string(53) "99 test 2 Hello, world! Lots and lots and ... of text"
343}
344Test 3
345array(100) {
346  [0]=>
347  string(52) "0 test 3 Hello, world! Lots and lots and ... of text"
348  [1]=>
349  string(52) "1 test 3 Hello, world! Lots and lots and ... of text"
350  [2]=>
351  string(52) "2 test 3 Hello, world! Lots and lots and ... of text"
352  [3]=>
353  string(52) "3 test 3 Hello, world! Lots and lots and ... of text"
354  [4]=>
355  string(52) "4 test 3 Hello, world! Lots and lots and ... of text"
356  [5]=>
357  string(52) "5 test 3 Hello, world! Lots and lots and ... of text"
358  [6]=>
359  string(52) "6 test 3 Hello, world! Lots and lots and ... of text"
360  [7]=>
361  string(52) "7 test 3 Hello, world! Lots and lots and ... of text"
362  [8]=>
363  string(52) "8 test 3 Hello, world! Lots and lots and ... of text"
364  [9]=>
365  string(52) "9 test 3 Hello, world! Lots and lots and ... of text"
366  [10]=>
367  string(53) "10 test 3 Hello, world! Lots and lots and ... of text"
368  [11]=>
369  string(53) "11 test 3 Hello, world! Lots and lots and ... of text"
370  [12]=>
371  string(53) "12 test 3 Hello, world! Lots and lots and ... of text"
372  [13]=>
373  string(53) "13 test 3 Hello, world! Lots and lots and ... of text"
374  [14]=>
375  string(53) "14 test 3 Hello, world! Lots and lots and ... of text"
376  [15]=>
377  string(53) "15 test 3 Hello, world! Lots and lots and ... of text"
378  [16]=>
379  string(53) "16 test 3 Hello, world! Lots and lots and ... of text"
380  [17]=>
381  string(53) "17 test 3 Hello, world! Lots and lots and ... of text"
382  [18]=>
383  string(53) "18 test 3 Hello, world! Lots and lots and ... of text"
384  [19]=>
385  string(53) "19 test 3 Hello, world! Lots and lots and ... of text"
386  [20]=>
387  string(53) "20 test 3 Hello, world! Lots and lots and ... of text"
388  [21]=>
389  string(53) "21 test 3 Hello, world! Lots and lots and ... of text"
390  [22]=>
391  string(53) "22 test 3 Hello, world! Lots and lots and ... of text"
392  [23]=>
393  string(53) "23 test 3 Hello, world! Lots and lots and ... of text"
394  [24]=>
395  string(53) "24 test 3 Hello, world! Lots and lots and ... of text"
396  [25]=>
397  string(53) "25 test 3 Hello, world! Lots and lots and ... of text"
398  [26]=>
399  string(53) "26 test 3 Hello, world! Lots and lots and ... of text"
400  [27]=>
401  string(53) "27 test 3 Hello, world! Lots and lots and ... of text"
402  [28]=>
403  string(53) "28 test 3 Hello, world! Lots and lots and ... of text"
404  [29]=>
405  string(53) "29 test 3 Hello, world! Lots and lots and ... of text"
406  [30]=>
407  string(53) "30 test 3 Hello, world! Lots and lots and ... of text"
408  [31]=>
409  string(53) "31 test 3 Hello, world! Lots and lots and ... of text"
410  [32]=>
411  string(53) "32 test 3 Hello, world! Lots and lots and ... of text"
412  [33]=>
413  string(53) "33 test 3 Hello, world! Lots and lots and ... of text"
414  [34]=>
415  string(53) "34 test 3 Hello, world! Lots and lots and ... of text"
416  [35]=>
417  string(53) "35 test 3 Hello, world! Lots and lots and ... of text"
418  [36]=>
419  string(53) "36 test 3 Hello, world! Lots and lots and ... of text"
420  [37]=>
421  string(53) "37 test 3 Hello, world! Lots and lots and ... of text"
422  [38]=>
423  string(53) "38 test 3 Hello, world! Lots and lots and ... of text"
424  [39]=>
425  string(53) "39 test 3 Hello, world! Lots and lots and ... of text"
426  [40]=>
427  string(53) "40 test 3 Hello, world! Lots and lots and ... of text"
428  [41]=>
429  string(53) "41 test 3 Hello, world! Lots and lots and ... of text"
430  [42]=>
431  string(53) "42 test 3 Hello, world! Lots and lots and ... of text"
432  [43]=>
433  string(53) "43 test 3 Hello, world! Lots and lots and ... of text"
434  [44]=>
435  string(53) "44 test 3 Hello, world! Lots and lots and ... of text"
436  [45]=>
437  string(53) "45 test 3 Hello, world! Lots and lots and ... of text"
438  [46]=>
439  string(53) "46 test 3 Hello, world! Lots and lots and ... of text"
440  [47]=>
441  string(53) "47 test 3 Hello, world! Lots and lots and ... of text"
442  [48]=>
443  string(53) "48 test 3 Hello, world! Lots and lots and ... of text"
444  [49]=>
445  string(53) "49 test 3 Hello, world! Lots and lots and ... of text"
446  [50]=>
447  string(53) "50 test 3 Hello, world! Lots and lots and ... of text"
448  [51]=>
449  string(53) "51 test 3 Hello, world! Lots and lots and ... of text"
450  [52]=>
451  string(53) "52 test 3 Hello, world! Lots and lots and ... of text"
452  [53]=>
453  string(53) "53 test 3 Hello, world! Lots and lots and ... of text"
454  [54]=>
455  string(53) "54 test 3 Hello, world! Lots and lots and ... of text"
456  [55]=>
457  string(53) "55 test 3 Hello, world! Lots and lots and ... of text"
458  [56]=>
459  string(53) "56 test 3 Hello, world! Lots and lots and ... of text"
460  [57]=>
461  string(53) "57 test 3 Hello, world! Lots and lots and ... of text"
462  [58]=>
463  string(53) "58 test 3 Hello, world! Lots and lots and ... of text"
464  [59]=>
465  string(53) "59 test 3 Hello, world! Lots and lots and ... of text"
466  [60]=>
467  string(53) "60 test 3 Hello, world! Lots and lots and ... of text"
468  [61]=>
469  string(53) "61 test 3 Hello, world! Lots and lots and ... of text"
470  [62]=>
471  string(53) "62 test 3 Hello, world! Lots and lots and ... of text"
472  [63]=>
473  string(53) "63 test 3 Hello, world! Lots and lots and ... of text"
474  [64]=>
475  string(53) "64 test 3 Hello, world! Lots and lots and ... of text"
476  [65]=>
477  string(53) "65 test 3 Hello, world! Lots and lots and ... of text"
478  [66]=>
479  string(53) "66 test 3 Hello, world! Lots and lots and ... of text"
480  [67]=>
481  string(53) "67 test 3 Hello, world! Lots and lots and ... of text"
482  [68]=>
483  string(53) "68 test 3 Hello, world! Lots and lots and ... of text"
484  [69]=>
485  string(53) "69 test 3 Hello, world! Lots and lots and ... of text"
486  [70]=>
487  string(53) "70 test 3 Hello, world! Lots and lots and ... of text"
488  [71]=>
489  string(53) "71 test 3 Hello, world! Lots and lots and ... of text"
490  [72]=>
491  string(53) "72 test 3 Hello, world! Lots and lots and ... of text"
492  [73]=>
493  string(53) "73 test 3 Hello, world! Lots and lots and ... of text"
494  [74]=>
495  string(53) "74 test 3 Hello, world! Lots and lots and ... of text"
496  [75]=>
497  string(53) "75 test 3 Hello, world! Lots and lots and ... of text"
498  [76]=>
499  string(53) "76 test 3 Hello, world! Lots and lots and ... of text"
500  [77]=>
501  string(53) "77 test 3 Hello, world! Lots and lots and ... of text"
502  [78]=>
503  string(53) "78 test 3 Hello, world! Lots and lots and ... of text"
504  [79]=>
505  string(53) "79 test 3 Hello, world! Lots and lots and ... of text"
506  [80]=>
507  string(53) "80 test 3 Hello, world! Lots and lots and ... of text"
508  [81]=>
509  string(53) "81 test 3 Hello, world! Lots and lots and ... of text"
510  [82]=>
511  string(53) "82 test 3 Hello, world! Lots and lots and ... of text"
512  [83]=>
513  string(53) "83 test 3 Hello, world! Lots and lots and ... of text"
514  [84]=>
515  string(53) "84 test 3 Hello, world! Lots and lots and ... of text"
516  [85]=>
517  string(53) "85 test 3 Hello, world! Lots and lots and ... of text"
518  [86]=>
519  string(53) "86 test 3 Hello, world! Lots and lots and ... of text"
520  [87]=>
521  string(53) "87 test 3 Hello, world! Lots and lots and ... of text"
522  [88]=>
523  string(53) "88 test 3 Hello, world! Lots and lots and ... of text"
524  [89]=>
525  string(53) "89 test 3 Hello, world! Lots and lots and ... of text"
526  [90]=>
527  string(53) "90 test 3 Hello, world! Lots and lots and ... of text"
528  [91]=>
529  string(53) "91 test 3 Hello, world! Lots and lots and ... of text"
530  [92]=>
531  string(53) "92 test 3 Hello, world! Lots and lots and ... of text"
532  [93]=>
533  string(53) "93 test 3 Hello, world! Lots and lots and ... of text"
534  [94]=>
535  string(53) "94 test 3 Hello, world! Lots and lots and ... of text"
536  [95]=>
537  string(53) "95 test 3 Hello, world! Lots and lots and ... of text"
538  [96]=>
539  string(53) "96 test 3 Hello, world! Lots and lots and ... of text"
540  [97]=>
541  string(53) "97 test 3 Hello, world! Lots and lots and ... of text"
542  [98]=>
543  string(53) "98 test 3 Hello, world! Lots and lots and ... of text"
544  [99]=>
545  string(53) "99 test 3 Hello, world! Lots and lots and ... of text"
546}
547Test 4
548array(100) {
549  [0]=>
550  string(52) "0 test 4 Hello, world! Lots and lots and ... of text"
551  [1]=>
552  string(52) "1 test 4 Hello, world! Lots and lots and ... of text"
553  [2]=>
554  string(52) "2 test 4 Hello, world! Lots and lots and ... of text"
555  [3]=>
556  string(52) "3 test 4 Hello, world! Lots and lots and ... of text"
557  [4]=>
558  string(52) "4 test 4 Hello, world! Lots and lots and ... of text"
559  [5]=>
560  string(52) "5 test 4 Hello, world! Lots and lots and ... of text"
561  [6]=>
562  string(52) "6 test 4 Hello, world! Lots and lots and ... of text"
563  [7]=>
564  string(52) "7 test 4 Hello, world! Lots and lots and ... of text"
565  [8]=>
566  string(52) "8 test 4 Hello, world! Lots and lots and ... of text"
567  [9]=>
568  string(52) "9 test 4 Hello, world! Lots and lots and ... of text"
569  [10]=>
570  string(53) "10 test 4 Hello, world! Lots and lots and ... of text"
571  [11]=>
572  string(53) "11 test 4 Hello, world! Lots and lots and ... of text"
573  [12]=>
574  string(53) "12 test 4 Hello, world! Lots and lots and ... of text"
575  [13]=>
576  string(53) "13 test 4 Hello, world! Lots and lots and ... of text"
577  [14]=>
578  string(53) "14 test 4 Hello, world! Lots and lots and ... of text"
579  [15]=>
580  string(53) "15 test 4 Hello, world! Lots and lots and ... of text"
581  [16]=>
582  string(53) "16 test 4 Hello, world! Lots and lots and ... of text"
583  [17]=>
584  string(53) "17 test 4 Hello, world! Lots and lots and ... of text"
585  [18]=>
586  string(53) "18 test 4 Hello, world! Lots and lots and ... of text"
587  [19]=>
588  string(53) "19 test 4 Hello, world! Lots and lots and ... of text"
589  [20]=>
590  string(53) "20 test 4 Hello, world! Lots and lots and ... of text"
591  [21]=>
592  string(53) "21 test 4 Hello, world! Lots and lots and ... of text"
593  [22]=>
594  string(53) "22 test 4 Hello, world! Lots and lots and ... of text"
595  [23]=>
596  string(53) "23 test 4 Hello, world! Lots and lots and ... of text"
597  [24]=>
598  string(53) "24 test 4 Hello, world! Lots and lots and ... of text"
599  [25]=>
600  string(53) "25 test 4 Hello, world! Lots and lots and ... of text"
601  [26]=>
602  string(53) "26 test 4 Hello, world! Lots and lots and ... of text"
603  [27]=>
604  string(53) "27 test 4 Hello, world! Lots and lots and ... of text"
605  [28]=>
606  string(53) "28 test 4 Hello, world! Lots and lots and ... of text"
607  [29]=>
608  string(53) "29 test 4 Hello, world! Lots and lots and ... of text"
609  [30]=>
610  string(53) "30 test 4 Hello, world! Lots and lots and ... of text"
611  [31]=>
612  string(53) "31 test 4 Hello, world! Lots and lots and ... of text"
613  [32]=>
614  string(53) "32 test 4 Hello, world! Lots and lots and ... of text"
615  [33]=>
616  string(53) "33 test 4 Hello, world! Lots and lots and ... of text"
617  [34]=>
618  string(53) "34 test 4 Hello, world! Lots and lots and ... of text"
619  [35]=>
620  string(53) "35 test 4 Hello, world! Lots and lots and ... of text"
621  [36]=>
622  string(53) "36 test 4 Hello, world! Lots and lots and ... of text"
623  [37]=>
624  string(53) "37 test 4 Hello, world! Lots and lots and ... of text"
625  [38]=>
626  string(53) "38 test 4 Hello, world! Lots and lots and ... of text"
627  [39]=>
628  string(53) "39 test 4 Hello, world! Lots and lots and ... of text"
629  [40]=>
630  string(53) "40 test 4 Hello, world! Lots and lots and ... of text"
631  [41]=>
632  string(53) "41 test 4 Hello, world! Lots and lots and ... of text"
633  [42]=>
634  string(53) "42 test 4 Hello, world! Lots and lots and ... of text"
635  [43]=>
636  string(53) "43 test 4 Hello, world! Lots and lots and ... of text"
637  [44]=>
638  string(53) "44 test 4 Hello, world! Lots and lots and ... of text"
639  [45]=>
640  string(53) "45 test 4 Hello, world! Lots and lots and ... of text"
641  [46]=>
642  string(53) "46 test 4 Hello, world! Lots and lots and ... of text"
643  [47]=>
644  string(53) "47 test 4 Hello, world! Lots and lots and ... of text"
645  [48]=>
646  string(53) "48 test 4 Hello, world! Lots and lots and ... of text"
647  [49]=>
648  string(53) "49 test 4 Hello, world! Lots and lots and ... of text"
649  [50]=>
650  string(53) "50 test 4 Hello, world! Lots and lots and ... of text"
651  [51]=>
652  string(53) "51 test 4 Hello, world! Lots and lots and ... of text"
653  [52]=>
654  string(53) "52 test 4 Hello, world! Lots and lots and ... of text"
655  [53]=>
656  string(53) "53 test 4 Hello, world! Lots and lots and ... of text"
657  [54]=>
658  string(53) "54 test 4 Hello, world! Lots and lots and ... of text"
659  [55]=>
660  string(53) "55 test 4 Hello, world! Lots and lots and ... of text"
661  [56]=>
662  string(53) "56 test 4 Hello, world! Lots and lots and ... of text"
663  [57]=>
664  string(53) "57 test 4 Hello, world! Lots and lots and ... of text"
665  [58]=>
666  string(53) "58 test 4 Hello, world! Lots and lots and ... of text"
667  [59]=>
668  string(53) "59 test 4 Hello, world! Lots and lots and ... of text"
669  [60]=>
670  string(53) "60 test 4 Hello, world! Lots and lots and ... of text"
671  [61]=>
672  string(53) "61 test 4 Hello, world! Lots and lots and ... of text"
673  [62]=>
674  string(53) "62 test 4 Hello, world! Lots and lots and ... of text"
675  [63]=>
676  string(53) "63 test 4 Hello, world! Lots and lots and ... of text"
677  [64]=>
678  string(53) "64 test 4 Hello, world! Lots and lots and ... of text"
679  [65]=>
680  string(53) "65 test 4 Hello, world! Lots and lots and ... of text"
681  [66]=>
682  string(53) "66 test 4 Hello, world! Lots and lots and ... of text"
683  [67]=>
684  string(53) "67 test 4 Hello, world! Lots and lots and ... of text"
685  [68]=>
686  string(53) "68 test 4 Hello, world! Lots and lots and ... of text"
687  [69]=>
688  string(53) "69 test 4 Hello, world! Lots and lots and ... of text"
689  [70]=>
690  string(53) "70 test 4 Hello, world! Lots and lots and ... of text"
691  [71]=>
692  string(53) "71 test 4 Hello, world! Lots and lots and ... of text"
693  [72]=>
694  string(53) "72 test 4 Hello, world! Lots and lots and ... of text"
695  [73]=>
696  string(53) "73 test 4 Hello, world! Lots and lots and ... of text"
697  [74]=>
698  string(53) "74 test 4 Hello, world! Lots and lots and ... of text"
699  [75]=>
700  string(53) "75 test 4 Hello, world! Lots and lots and ... of text"
701  [76]=>
702  string(53) "76 test 4 Hello, world! Lots and lots and ... of text"
703  [77]=>
704  string(53) "77 test 4 Hello, world! Lots and lots and ... of text"
705  [78]=>
706  string(53) "78 test 4 Hello, world! Lots and lots and ... of text"
707  [79]=>
708  string(53) "79 test 4 Hello, world! Lots and lots and ... of text"
709  [80]=>
710  string(53) "80 test 4 Hello, world! Lots and lots and ... of text"
711  [81]=>
712  string(53) "81 test 4 Hello, world! Lots and lots and ... of text"
713  [82]=>
714  string(53) "82 test 4 Hello, world! Lots and lots and ... of text"
715  [83]=>
716  string(53) "83 test 4 Hello, world! Lots and lots and ... of text"
717  [84]=>
718  string(53) "84 test 4 Hello, world! Lots and lots and ... of text"
719  [85]=>
720  string(53) "85 test 4 Hello, world! Lots and lots and ... of text"
721  [86]=>
722  string(53) "86 test 4 Hello, world! Lots and lots and ... of text"
723  [87]=>
724  string(53) "87 test 4 Hello, world! Lots and lots and ... of text"
725  [88]=>
726  string(53) "88 test 4 Hello, world! Lots and lots and ... of text"
727  [89]=>
728  string(53) "89 test 4 Hello, world! Lots and lots and ... of text"
729  [90]=>
730  string(53) "90 test 4 Hello, world! Lots and lots and ... of text"
731  [91]=>
732  string(53) "91 test 4 Hello, world! Lots and lots and ... of text"
733  [92]=>
734  string(53) "92 test 4 Hello, world! Lots and lots and ... of text"
735  [93]=>
736  string(53) "93 test 4 Hello, world! Lots and lots and ... of text"
737  [94]=>
738  string(53) "94 test 4 Hello, world! Lots and lots and ... of text"
739  [95]=>
740  string(53) "95 test 4 Hello, world! Lots and lots and ... of text"
741  [96]=>
742  string(53) "96 test 4 Hello, world! Lots and lots and ... of text"
743  [97]=>
744  string(53) "97 test 4 Hello, world! Lots and lots and ... of text"
745  [98]=>
746  string(53) "98 test 4 Hello, world! Lots and lots and ... of text"
747  [99]=>
748  string(53) "99 test 4 Hello, world! Lots and lots and ... of text"
749}
750===DONE===
751