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

From: Date: Sat, 06 Mar 2004 13:04:34 +0000
Subject: cvs: phpdoc-hu /reference/array/functions array-intersect.xml
Groups: php.doc.hu 
Request: Send a blank email to doc-hu+get-453@lists.php.net to get a copy of this message
cece Sat Mar 6 08:04:34 2004 EDT Modified files: /phpdoc-hu/reference/array/functions array-intersect.xml Log: sync and correcting translation of word "red" http://cvs.php.net/diff.php/phpdoc-hu/reference/array/functions/array-intersect.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-hu/reference/array/functions/array-intersect.xml diff -u phpdoc-hu/reference/array/functions/array-intersect.xml:1.3 phpdoc-hu/reference/array/functions/array-intersect.xml:1.4 --- phpdoc-hu/reference/array/functions/array-intersect.xml:1.3 Wed Aug 14 12:56:19 2002 +++ phpdoc-hu/reference/array/functions/array-intersect.xml Sat Mar 6 08:04:34 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-intersect' in en/ tree in rev 1.14 --> -<!-- EN-Revision: 1.4 Maintainer: gerzson Status: ready --> +<!-- EN-Revision: 1.10 Maintainer: gerzson Status: ready --> <!-- OLD-Revision: 1.173/EN.1.14 --> <refentry id="function.array-intersect"> <refnamediv> @@ -29,23 +29,25 @@ <title><function>array_intersect</function> példa</title> <programlisting role="php"> <![CDATA[ -$tomb1 = array ("a" => "zöld", "vörös", "kék", "vörös"); -$tomb2 = array ("b" => "zöld", "sárga", "piros"); -$eredmeny = array_intersect ($tomb1, $tomb2); +<?php +$tomb1 = array("a" => "zöld", "vörös", "kék", "vörös"); +$tomb2 = array("b" => "zöld", "sárga", "vörös"); +$eredmeny = array_intersect($tomb1, $tomb2); +?> ]]> </programlisting> - <para> + <para> Ez a <varname>$eredmeny</varname> tömbben a következõ értékeket képezi: - <screen role="php"> -<![CDATA[ -Array -( - [a] => zöld - [0] => piros -) -]]> - </screen> - </para> + </para> + <screen role="php"> +<![CDATA[ +Array +( + [a] => zöld + [0] => vörös +) +]]> + </screen> </example> </para> <note> @@ -56,14 +58,10 @@ <!-- TODO: example of it... --> </simpara> </note> - <warning> - <simpara> - PHP 4.0.4-ben hibásan mûködött! - <!-- TODO: when exactly was this broken?... --> - </simpara> - </warning> <para> - Lásd még: <function>array_diff</function>! + Lásd még: <function>array_intersect_assoc</function>, + <function>array_diff</function> és + <function>array_diff_assoc</function>! </para> </refsect1> </refentry>

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