mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Finish converting to the new doc style, add roles return and parameters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@253370 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
5a8fc9da0a
commit
5bab00fd18
1 changed files with 29 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<refentry xml:id="function.strval" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>strval</refname>
|
||||
|
@ -13,14 +13,37 @@
|
|||
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<simpara>
|
||||
Returns the <type>string</type> value of <parameter>var</parameter>.
|
||||
Get the string value of a variable.
|
||||
See the documentation on <type>string</type> for more information
|
||||
on converting to string.
|
||||
</simpara>
|
||||
<simpara>
|
||||
<parameter>var</parameter> may be any scalar type. You cannot use
|
||||
<function>strval</function> on arrays or objects.
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>var</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The variable that is being converted to a <type>string</type>.
|
||||
</para>
|
||||
<para>
|
||||
<parameter>var</parameter> may be any scalar type. You cannot use
|
||||
<function>strval</function> on arrays or objects.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
The <type>string</type> value of <parameter>var</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
|
|
Loading…
Reference in a new issue