svn: /phpdoc/ru/trunk/reference/array/functions/ in-array.xml
| From: | Shein Alexey | Date: | Wed, 02 Feb 2011 10:18:52 +0000 |
| Subject: | svn: /phpdoc/ru/trunk/reference/array/functions/ in-array.xml | ||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-1331@lists.php.net to get a copy of this message | ||
shein Wed, 02 Feb 2011 10:18:52 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=307948
Log:
Fixed some untranslated parts.
Changed paths:
U phpdoc/ru/trunk/reference/array/functions/in-array.xml
Modified: phpdoc/ru/trunk/reference/array/functions/in-array.xml
===================================================================
--- phpdoc/ru/trunk/reference/array/functions/in-array.xml 2011-02-02 10:04:19 UTC (rev 307947)
+++ phpdoc/ru/trunk/reference/array/functions/in-array.xml 2011-02-02 10:18:52 UTC (rev 307948)
@@ -63,8 +63,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns &true; if <parameter>needle</parameter> is found in the array,
- &false; otherwise.
+ Возвращает &true;, если <parameter>needle</parameter> было
найден в массиве, и
+ &false; в обратном случае.
</para>
</refsect1>
<refsect1 role="changelog">
@@ -100,10 +100,10 @@
<?php
$os = array("Mac", "NT", "Irix", "Linux");
if (in_array("Irix", $os)) {
- echo "Got Irix";
+ echo "Нашел Irix";
}
if (in_array("mac", $os)) {
- echo "Got mac";
+ echo "Нашел mac";
}
?>
]]>
@@ -114,7 +114,7 @@
</para>
<screen>
<![CDATA[
-Got Irix
+Нашел Irix
]]>
</screen>
</example>
@@ -128,11 +128,11 @@
$a = array('1.10', 12.4, 1.13);
if (in_array('12.4', $a, true)) {
- echo "'12.4' found with strict check\n";
+ echo "'12.4' найдено со строгой проверкой\n";
}
if (in_array(1.13, $a, true)) {
- echo "1.13 found with strict check\n";
+ echo "1.13 найдено со строгой проверкой\n";
}
?>
]]>
@@ -140,7 +140,7 @@
&example.outputs;
<screen>
<![CDATA[
-1.13 found with strict check
+1.13 найдено со строгой проверкой
]]>
</screen>
</example>