cvs: phpdoc-ru /reference/strings/functions sscanf.xml

From: Date: Mon, 21 Jun 2004 08:27:05 +0000
Subject: cvs: phpdoc-ru /reference/strings/functions sscanf.xml
Groups: php.doc.ru 
Request: Send a blank email to doc-ru+get-375@lists.php.net to get a copy of this message
blindman Mon Jun 21 04:27:05 2004 EDT Modified files: /phpdoc-ru/reference/strings/functions sscanf.xml Log: sync with EN (fix #28859) http://cvs.php.net/diff.php/phpdoc-ru/reference/strings/functions/sscanf.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ru/reference/strings/functions/sscanf.xml diff -u phpdoc-ru/reference/strings/functions/sscanf.xml:1.1 phpdoc-ru/reference/strings/functions/sscanf.xml:1.2 --- phpdoc-ru/reference/strings/functions/sscanf.xml:1.1 Mon Apr 12 04:41:56 2004 +++ phpdoc-ru/reference/strings/functions/sscanf.xml Mon Jun 21 04:27:04 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> <!-- EN-Revision: 1.8 Maintainer: blindman Status: ready --> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.33 --> <refentry id="function.sscanf"> <refnamediv> @@ -58,8 +58,7 @@ </programlisting> </example> Åñëè ïåðåäàíû íåîáÿçàòåëüíûå àðãóìåíòû, çíà÷åíèÿ áóäóò ïðèñâîåíû èì, - à âîçâðàùåíî áóäåò êîëè÷åñòâî ïðèñâîåííûõ çíà÷åíèé. Äîïîëíèòåëüíûå - àðãóìåíòû äîëæíû ïåðåäàâàòüñÿ ïî ññûëêå. + à âîçâðàùåíî áóäåò êîëè÷åñòâî ïðèñâîåííûõ çíà÷åíèé. <example> <title> <function>sscanf</function> - èñïîëüçîâàíèå íåîáÿçàòåëüíûõ @@ -70,7 +69,7 @@ <?php // ïîëó÷èòü èìÿ àâòîðà è ñôîðìèðîâàòü çàïèñü â ôîðìàòå DocBook $auth = "24\tLewis Carroll"; -$n = sscanf($auth, "%d\t%s %s", &$id, &$first, &$last); +$n = sscanf($auth, "%d\t%s %s", $id, $first, $last); echo "<author id='$id'> <firstname>$first</firstname> <surname>$last</surname>

« previous php.doc.ru (#375) next »