Next parameters are passed by reference, they are mixed

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164448 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2004-07-27 13:31:59 +00:00
parent e54fa5ec63
commit c36889d738
2 changed files with 7 additions and 5 deletions

View file

@ -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

View file

@ -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