1
0
mirror of https://github.com/php/doc-pl.git synced 2026-03-29 18:42:06 +02:00
Files
archived-doc-pl/reference/array/functions/array-search.xml
Leszek Krupinski 03d0f70798 Standarized 'see also' translation
git-svn-id: https://svn.php.net/repository/phpdoc/pl/trunk@82551 c90b9560-bf6c-de11-be94-00142212c4b1
2002-05-17 13:50:52 +00:00

65 lines
2.0 KiB
XML

<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.4 Maintainer: leszek Status: ready -->
<!-- $Revision: 1.4 $ -->
<refentry id="function.array-search">
<refnamediv>
<refname>array_search</refname>
<refpurpose>
Przeszukuje tablicê pod k±tem podanej warto¶ci i w przypadku sukcesu
zwraca odpowiedni klucz
</refpurpose>
</refnamediv>
<refsect1>
<title>Opis</title>
<methodsynopsis>
<type>mixed</type><methodname>array_search</methodname>
<methodparam><type>mixed</type><parameter>ig³a</parameter></methodparam>
<methodparam><type>array</type><parameter>stóg_siana</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>¶cis³y</parameter></methodparam>
</methodsynopsis>
<para>
Przeszukuje <parameter>stóg_siana</parameter> w poszukiwaniu parametru
<parameter>ig³a</parameter> i zwraca odpowiedni klucz je¶li zosta³ on
znaleziony lub &false; w przeciwnym przypadku.
</para>
<note>
<para>
Pocz±wszy od PHP 4.1.2, <function>array_search</function> zwraca
<constant>NULL</constant> w przypadku niepowodzenia zamiast &false;
</para>
</note>
<para>
Je¶li trzeci parametr <parameter>¶cis³y</parameter> jest ustawiony na
&true; to <function>array_search</function> porówna tak¿e typy
parametru <parameter>ig³a</parameter> z tymi z parametru
<parameter>stóg_siana</parameter>.
</para>
&return.falseproblem;
<para>
Patrz tak¿e: <function>array_keys</function> i
<function>in_array</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->