Refpurpose are like titles and don't need a dot at the end.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@21844 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Egon Schmid 2000-03-22 19:46:46 +00:00
parent 35bbfe2ede
commit e0d644f2ec

View file

@ -1,11 +1,11 @@
<reference id="ref.var">
<title>Variable functions</title>
<title>Variable Functions</title>
<titleabbrev>Variables</titleabbrev>
<refentry id="function.doubleval">
<refnamediv>
<refname>doubleval</refname>
<refpurpose>Get double value of a variable.</refpurpose>
<refpurpose>Get double value of a variable</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -18,15 +18,15 @@
<parameter>var</parameter>.
</simpara>
<para>
<parameter>var</parameter> may be any scalar type. You cannot use
<parameter>Var</parameter> may be any scalar type. You cannot use
<function>doubleval</function> on arrays or objects.
<informalexample>
<programlisting role="php">
$var = '122.34343The';
$double_value_of_var = doubleval($var);
$double_value_of_var = doubleval ($var);
print $double_value_of_var; // prints 122.34343
</programlisting>
</informalexample>
</informalexample>
</para>
<simpara>
See also <function>intval</function>,
@ -40,7 +40,7 @@ print $double_value_of_var; // prints 122.34343
<refentry id="function.empty">
<refnamediv>
<refname>empty</refname>
<refpurpose>determine whether a variable is set</refpurpose>
<refpurpose>Determine whether a variable is set</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -79,7 +79,7 @@ if (!isset($var)) { // evaluates false
<refentry id="function.gettype">
<refnamediv>
<refname>gettype</refname>
<refpurpose>Get the type of a variable.</refpurpose>
<refpurpose>Get the type of a variable</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -123,7 +123,9 @@ if (!isset($var)) { // evaluates false
<refentry id="function.get-class-vars">
<refnamediv>
<refname>get_class_vars</refname>
<refpurpose>Returns an array of default properties of the class</refpurpose>
<refpurpose>
Returns an array of default properties of the class
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -132,7 +134,8 @@ if (!isset($var)) { // evaluates false
<paramdef>string <parameter>class_name</parameter></paramdef>
</funcsynopsis>
<para>
This function will return an array of default properties of the class.
This function will return an array of default properties of the
class.
</para>
</refsect1>
</refentry>
@ -140,7 +143,7 @@ if (!isset($var)) { // evaluates false
<refentry id="function.get-object-vars">
<refnamediv>
<refname>get_object_vars</refname>
<refpurpose>Returns an array of object properties.</refpurpose>
<refpurpose>Returns an array of object properties</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -149,8 +152,8 @@ if (!isset($var)) { // evaluates false
<paramdef>object <parameter>obj</parameter></paramdef>
</funcsynopsis>
<para>
This function returns an array of object properties for the specified object
<parameter>obj</parameter>.
This function returns an array of object properties for the
specified object <parameter>obj</parameter>.
</para>
</refsect1>
</refentry>
@ -158,7 +161,7 @@ if (!isset($var)) { // evaluates false
<refentry id="function.intval">
<refnamediv>
<refname>intval</refname>
<refpurpose>Get integer value of a variable.</refpurpose>
<refpurpose>Get integer value of a variable</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -175,7 +178,7 @@ if (!isset($var)) { // evaluates false
base 10).
</simpara>
<simpara>
<parameter>var</parameter> may be any scalar type. You cannot use
<parameter>Var</parameter> may be any scalar type. You cannot use
<function>intval</function> on arrays or objects.
</simpara>
<simpara>
@ -190,7 +193,7 @@ if (!isset($var)) { // evaluates false
<refentry id="function.is-array">
<refnamediv>
<refname>is_array</refname>
<refpurpose>Finds whether a variable is an array.</refpurpose>
<refpurpose>Finds whether a variable is an array</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -218,7 +221,7 @@ if (!isset($var)) { // evaluates false
<refentry id="function.is-double">
<refnamediv>
<refname>is_double</refname>
<refpurpose>Finds whether a variable is a double.</refpurpose>
<refpurpose>Finds whether a variable is a double</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -246,7 +249,7 @@ if (!isset($var)) { // evaluates false
<refentry id="function.is-float">
<refnamediv>
<refname>is_float</refname>
<refpurpose>Finds whether a variable is a float.</refpurpose>
<refpurpose>Finds whether a variable is a float</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -273,7 +276,7 @@ if (!isset($var)) { // evaluates false
<refentry id="function.is-int">
<refnamediv>
<refname>is_int</refname>
<refpurpose>Find whether a variable is an integer.</refpurpose>
<refpurpose>Find whether a variable is an integer</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -300,7 +303,7 @@ if (!isset($var)) { // evaluates false
<refentry id="function.is-integer">
<refnamediv>
<refname>is_integer</refname>
<refpurpose>Find whether a variable is an integer.</refpurpose>
<refpurpose>Find whether a variable is an integer</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -328,7 +331,7 @@ if (!isset($var)) { // evaluates false
<refentry id="function.is-long">
<refnamediv>
<refname>is_long</refname>
<refpurpose>Finds whether a variable is an integer.</refpurpose>
<refpurpose>Finds whether a variable is an integer</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -356,7 +359,7 @@ if (!isset($var)) { // evaluates false
<refentry id="function.is-object">
<refnamediv>
<refname>is_object</refname>
<refpurpose>Finds whether a variable is an object.</refpurpose>
<refpurpose>Finds whether a variable is an object</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -384,7 +387,7 @@ if (!isset($var)) { // evaluates false
<refentry id="function.is-real">
<refnamediv>
<refname>is_real</refname>
<refpurpose>Finds whether a variable is a real.</refpurpose>
<refpurpose>Finds whether a variable is a real</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -393,8 +396,7 @@ if (!isset($var)) { // evaluates false
<paramdef>mixed <parameter>var</parameter></paramdef>
</funcsynopsis>
<simpara>
This function is an alias for
<function>is_double</function>.
This function is an alias for <function>is_double</function>.
</simpara>
<simpara>
See also <function>is_long</function>,
@ -412,7 +414,7 @@ if (!isset($var)) { // evaluates false
<refentry id="function.is-string">
<refnamediv>
<refname>is_string</refname>
<refpurpose>Finds whether a variable is a string.</refpurpose>
<refpurpose>Finds whether a variable is a string</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -440,7 +442,7 @@ if (!isset($var)) { // evaluates false
<refentry id="function.isset">
<refnamediv>
<refname>isset</refname>
<refpurpose>determine whether a variable is set</refpurpose>
<refpurpose>Determine whether a variable is set</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -475,7 +477,7 @@ echo isset ($a); // false
<refnamediv>
<refname>print_r</refname>
<refpurpose>
Prints human-readable information about a variable.
Prints human-readable information about a variable
</refpurpose>
</refnamediv>
<refsect1>
@ -511,7 +513,7 @@ print_r ($a);
<refentry id="function.settype">
<refnamediv>
<refname>settype</refname>
<refpurpose>Set the type of a variable.</refpurpose>
<refpurpose>Set the type of a variable</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -546,7 +548,7 @@ print_r ($a);
<refentry id="function.strval">
<refnamediv>
<refname>strval</refname>
<refpurpose>Get string value of a variable.</refpurpose>
<refpurpose>Get string value of a variable</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -587,7 +589,7 @@ print_r ($a);
</para>
<para>
<example>
<title><function>unset</function> example</title>
<title><function>Unset</function> example</title>
<programlisting role="php">
unset ($foo);
unset ($bar['quux']);
@ -604,9 +606,7 @@ unset ($bar['quux']);
<refentry id="function.var-dump">
<refnamediv>
<refname>var_dump</refname>
<refpurpose>
Dumps information about a variable.
</refpurpose>
<refpurpose>Dumps information about a variable</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>