cvs: phpdoc-ja /reference/strings/functions strpos.xml
| From: | TAKAGI Masahiro | Date: | Wed, 22 Feb 2006 03:20:47 +0000 |
| Subject: | cvs: phpdoc-ja /reference/strings/functions strpos.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-1476@lists.php.net to get a copy of this message | ||
takagi Wed Feb 22 03:20:47 2006 UTC
Modified files:
/phpdoc-ja/reference/strings/functions strpos.xml
Log:
sync with en.
http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/strings/functions/strpos.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc-ja/reference/strings/functions/strpos.xml
diff -u phpdoc-ja/reference/strings/functions/strpos.xml:1.7
phpdoc-ja/reference/strings/functions/strpos.xml:1.8
--- phpdoc-ja/reference/strings/functions/strpos.xml:1.7 Sun Feb 19 04:50:58 2006
+++ phpdoc-ja/reference/strings/functions/strpos.xml Wed Feb 22 03:20:47 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./ja/functions/strings.xml, last change in rev 1.2 -->
<!-- EN-Revision: 1.11 Maintainer: hirokawa Status: ready -->
<refentry id="function.strpos">
@@ -31,7 +31,7 @@
</para>
&return.falseproblem;
-
+ ¬e.bin-safe;
<para>
<example>
<title><function>strpos</function> ã®ä¾</title>
@@ -51,6 +51,9 @@
echo " è¦ã¤ãã£ãä½ç½®ã¯ $pos ã§ã";
}
+//
ãªãã»ãã以åã®å
容ãç¡è¦ãã¦æåãæ¢ããã¨ãã§ãã¾ãã
+$newstring = 'abcdef abcdef';
+$pos = strpos($newstring, 'a', 1); // $pos 㯠0 ã§ã¯ãªã 7
ã¨ãªãã¾ãã
?>
]]>
</programlisting>
@@ -62,12 +65,13 @@
</para>
<para>
ãªãã·ã§ã³ã®ãã©ã¡ã¼ã¿
<parameter>offset</parameter> ã«ããã
- æ¤ç´¢ãéå§ãã <parameter>haystack</parameter>
ã®æåãæå®ãããã¨ã
-
ã§ãã¾ãããã®å ´åã§ããè¿ãããä½ç½®ã¯
<parameter>haystack</parameter>
+ æ¤ç´¢ãéå§ãã <parameter>haystack</parameter>
ã®æåãæå®ãããã¨ãã§ãã¾ãã
+ ãã®å ´åã§ããè¿ãããä½ç½®ã¯
<parameter>haystack</parameter>
ã®å
é ããã®ç¸å¯¾ä½ç½®ã¨ãªãã¾ãã
</para>
<para>
<function>strrpos</function>, <function>stripos</function>,
+ <function>strripos</function>,
<function>strrchr</function>, <function>substr</function>,
<function>stristr</function>, <function>strstr</function>
ãåç
§ãã ããã