Date: 11/10/01
- Next message: Egon Schmid: "Re: [PHP-DOC] cvs: phpdoc /cs bookinfo.xml preface.xml /cs/features connection-handling.xml cookies.xml http-auth.xml images.xml persistent-connections.xml remote-files.xml /cs/functions apache.xml array.xml aspell.xml bc.xml calendar.xml ccvs.xml classo"
- Previous message: Andrei Zmievski: "Re: [PHP-DOC] docs request"
- In reply to: Andrei Zmievski: "Re: [PHP-DOC] docs request"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have already added it as such:
<para>
<example>
<title><function>array_chunk</function> example</title>
<programlisting role="php">
$input_array = array('a', 'b', 'c', 'd', 'e');
print_r(array_chunk($input_array, 2));
print_r(array_chunk($input_array, 2, TRUE));
</programlisting>
</example>
The printout of the above program will be:
<informalexample>
<programlisting>
Array
(
[0] => Array
(
[0] => a
[1] => b
)
[1] => Array
(
[0] => c
[1] => d
)
[2] => Array
(
[0] => e
)
)
Array
(
[0] => Array
(
[0] => a
[1] => b
)
[1] => Array
(
[2] => c
[3] => d
)
[2] => Array
(
[4] => e
)
)
</programlisting>
</informalexample>
</para>
- Next message: Egon Schmid: "Re: [PHP-DOC] cvs: phpdoc /cs bookinfo.xml preface.xml /cs/features connection-handling.xml cookies.xml http-auth.xml images.xml persistent-connections.xml remote-files.xml /cs/functions apache.xml array.xml aspell.xml bc.xml calendar.xml ccvs.xml classo"
- Previous message: Andrei Zmievski: "Re: [PHP-DOC] docs request"
- In reply to: Andrei Zmievski: "Re: [PHP-DOC] docs request"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

