cvs: phpdoc /en/reference/filesystem/functions fscanf.xml /en/reference/strings/functions sscanf.xml

From: Date: Tue, 27 Jul 2004 13:31:59 +0000
Subject: cvs: phpdoc /en/reference/filesystem/functions fscanf.xml /en/reference/strings/functions sscanf.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969362236@lists.php.net to get a copy of this message
vrana Tue Jul 27 09:31:59 2004 EDT Modified files: /phpdoc/en/reference/filesystem/functions fscanf.xml /phpdoc/en/reference/strings/functions sscanf.xml Log: Next parameters are passed by reference, they are mixed http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/fscanf.xml?r1=1.13&r2=1.14&ty=u Index: phpdoc/en/reference/filesystem/functions/fscanf.xml diff -u phpdoc/en/reference/filesystem/functions/fscanf.xml:1.13 phpdoc/en/reference/filesystem/functions/fscanf.xml:1.14 --- phpdoc/en/reference/filesystem/functions/fscanf.xml:1.13 Tue May 18 10:46:32 2004 +++ phpdoc/en/reference/filesystem/functions/fscanf.xml Tue Jul 27 09:31:58 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fscanf"> <refnamediv> @@ -12,7 +12,7 @@ <type>mixed</type><methodname>fscanf</methodname> <methodparam><type>resource</type><parameter>handle</parameter></methodparam> <methodparam><type>string</type><parameter>format</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>var1</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>&amp; ...</parameter></methodparam> </methodsynopsis> <para> The function <function>fscanf</function> is similar to http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/sscanf.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/strings/functions/sscanf.xml diff -u phpdoc/en/reference/strings/functions/sscanf.xml:1.9 phpdoc/en/reference/strings/functions/sscanf.xml:1.10 --- phpdoc/en/reference/strings/functions/sscanf.xml:1.9 Mon Jun 21 03:32:08 2004 +++ phpdoc/en/reference/strings/functions/sscanf.xml Tue Jul 27 09:31:59 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.33 --> <refentry id="function.sscanf"> <refnamediv> @@ -14,7 +14,7 @@ <type>mixed</type><methodname>sscanf</methodname> <methodparam><type>string</type><parameter>str</parameter></methodparam> <methodparam><type>string</type><parameter>format</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>var1</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>&amp; ...</parameter></methodparam> </methodsynopsis> <para> The function <function>sscanf</function> is the input analog of @@ -22,7 +22,9 @@ from the string <parameter>str</parameter> and interprets it according to the specified <parameter>format</parameter>. If only two parameters were passed to this function, the values parsed - will be returned as an array. + will be returned as an array. Otherwise, if optional parameters are passed, + the function will return the number of assigned values. The optional + parameters must be passed by reference. </para> <para> Any whitespace in the format string matches any whitespace in the input

« previous php.doc (#969362236) next »