cvs: phpdoc-hu /reference/array/functions array-pad.xml

From: Date: Sun, 04 Apr 2004 20:41:04 +0000
Subject: cvs: phpdoc-hu /reference/array/functions array-pad.xml
Groups: php.doc.hu 
Request: Send a blank email to doc-hu+get-536@lists.php.net to get a copy of this message
cece Sun Apr 4 16:41:04 2004 EDT Modified files: /phpdoc-hu/reference/array/functions array-pad.xml Log: sync with EN revision http://cvs.php.net/diff.php/phpdoc-hu/reference/array/functions/array-pad.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-hu/reference/array/functions/array-pad.xml diff -u phpdoc-hu/reference/array/functions/array-pad.xml:1.3 phpdoc-hu/reference/array/functions/array-pad.xml:1.4 --- phpdoc-hu/reference/array/functions/array-pad.xml:1.3 Wed Aug 14 12:56:19 2002 +++ phpdoc-hu/reference/array/functions/array-pad.xml Sun Apr 4 16:41:04 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> <!-- splitted from ./hu/functions/array.xml, last change in rev 1.3 --> <!-- last change to 'array-pad' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.4 Maintainer: gerzson Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: gerzson Status: ready --> <!-- OLD-Revision: 1.173/EN.1.2 --> <refentry id="function.array-pad"> <refnamediv> @@ -35,20 +35,23 @@ <function>array_pad</function> példa</title> <programlisting role="php"> <![CDATA[ -$bemenet = array (12, 10, 9); - -$eredmeny = array_pad ($bemenet, 5, 0); -// array (12, 10, 9, 0, 0) - -$eredmeny = array_pad ($bemenet, -7, -1); -// array (-1, -1, -1, -1, 12, 10, 9) - -$eredmeny = array_pad ($bemenet, 2, "noop"); +<?php +$bemenet = array(12, 10, 9); +$eredmeny = array_pad($bemenet, 5, 0); +// array(12, 10, 9, 0, 0) +$eredmeny = array_pad($bemenet, -7, -1); +// array(-1, -1, -1, -1, 12, 10, 9) +$eredmeny = array_pad($bemenet, 2, "noop"); // nincs kitöltés +?> ]]> </programlisting> </example> </para> + <para> + Lásd még: <function>array_fill</function> és + <function>range</function>! + </para> </refsect1> </refentry>

« previous php.doc.hu (#536) next »