cvs: phpdoc-fr /reference/array/functions array-search.xml

From: Date: Tue, 09 Mar 2004 09:11:09 +0000
Subject: cvs: phpdoc-fr /reference/array/functions array-search.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-2006@lists.php.net to get a copy of this message
didou Tue Mar 9 04:11:09 2004 EDT Modified files: /phpdoc-fr/reference/array/functions array-search.xml Log: fix #27536 http://cvs.php.net/diff.php/phpdoc-fr/reference/array/functions/array-search.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc-fr/reference/array/functions/array-search.xml diff -u phpdoc-fr/reference/array/functions/array-search.xml:1.12 phpdoc-fr/reference/array/functions/array-search.xml:1.13 --- phpdoc-fr/reference/array/functions/array-search.xml:1.12 Tue Feb 24 13:08:11 2004 +++ phpdoc-fr/reference/array/functions/array-search.xml Tue Mar 9 04:11:07 2004 @@ -1,9 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> - -<!-- splitted from ./fr/functions/array.xml, last change in rev 1.30 --> -<!-- last change to 'array-search' in en/ tree in rev 1.2 --> <refentry id="function.array-search"> <refnamediv> <refname>array_search</refname> @@ -57,8 +54,8 @@ <?php $array = array(0 => "bleu", 1 => "rouge", 2 => "vert", 3 => "rouge"); -$key = array_search($array, "vert"); // $key = 2; -$key = array_search($array, "rouge"); // $key = 1; +$key = array_search('vert', $array); // $key = 2; +$key = array_search('rouge', $array); // $key = 1; ?> ]]> </programlisting>

« previous php.doc.fr (#2006) next »