jeroen Fri Sep 21 21:03:01 2001 EDT
Modified files:
/phpdoc/en/functions var.xml
Log:
WS only (tab -> space(s))
Index: phpdoc/en/functions/var.xml
diff -u phpdoc/en/functions/var.xml:1.67 phpdoc/en/functions/var.xml:1.68
--- phpdoc/en/functions/var.xml:1.67 Fri Sep 21 19:49:31 2001
+++ phpdoc/en/functions/var.xml Fri Sep 21 21:03:00 2001
@@ -1,5 +1,5 @@
<?xml encoding="iso-8859-1"?>
-<!-- $Revision: 1.67 $ -->
+<!-- $Revision: 1.68 $ -->
<reference id="ref.var">
<title>Variable Functions</title>
<titleabbrev>Variables</titleabbrev>
@@ -269,8 +269,8 @@
</funcsynopsis>
<para>
This function returns a string representing the type of the
- <type>resource</type> passed to it. If the paramater is not a
- valid <type>resource</type>, it
+ <type>resource</type> passed to it. If the paramater is not a
+ valid <type>resource</type>, it
generates an error.
<informalexample>
<programlisting role="php">
@@ -569,7 +569,7 @@
</funcsynopsis>
<para>
Returns &true; if <parameter>var</parameter> is an <type>object</type>,
- &false; otherwise.
+ &false; otherwise.
</para>
<para>
See also <function>is_bool</function>,
@@ -617,12 +617,12 @@
<para>
<function>is_resource</function> returns &true; if the variable
given by the <parameter>var</parameter> parameter is a
- <type>resource</type>, otherwise it returns
&false;.
+ <type>resource</type>, otherwise it returns &false;.
+ </para>
+ <para>
+ See the documentation on the <type>resource</type>-type for
+ more information.
</para>
- <para>
- See the documentation on the
<type>resource</type>-type for
- more information.
- </para>
</refsect1>
</refentry>
@@ -652,8 +652,8 @@
</para>
<para>
Scalar variables are those containing an <type>integer</type>,
- <type>float</type>, <type>string</type> or <type>boolean</type>.
- For example:
+ <type>float</type>, <type>string</type> or <type>boolean</type>.
+ For example:
<informalexample>
<programlisting role="php">
<!-- TODO: better example, this one can be quite misleading for unexperienced
@@ -695,7 +695,7 @@
</note>
<note>
<para>
- Since 4.0.5
+ Since 4.0.5
</para>
</note>
<para>
@@ -803,8 +803,8 @@
<simpara>
This function displays information about the values of variables
in a way that's readable by humans. If given a <type>string</type>,
- <type>integer</type> or <type>float</type>, the value itself will be
- printed. If given an <type>array</type>,
+ <type>integer</type> or <type>float</type>, the value itself will be
+ printed. If given an <type>array</type>,
values will be presented in a format that shows keys and
elements. Similar notation is used for <type>object</type>s.
</simpara>
@@ -813,7 +813,7 @@
pointer to the end. Use <function>reset</function> to bring
it back to beginning.
</simpara>
- &tip.ob-capture;
+ &tip.ob-capture;
<simpara>
Compare <function>print_r</function> to
<function>var_dump</function>.
@@ -831,10 +831,10 @@
<warning>
<para>
This function will continue forever if given an <type>array</type>
- or <type>object</type>
+ or <type>object</type>
that contains a direct or indirect reference to itself or that
contains an <type>array</type> or <type>object</type> on a deeper
- level that does so.
+ level that does so.
This is especially &true; for <literal>print_r($GLOBALS)</literal>,
as <literal>$GLOBALS</literal> is itself a global variable and
contains a reference to itself as such.
@@ -871,22 +871,22 @@
To make the serialized string into a PHP value again, use
<function>unserialize</function>. <function>serialize</function>
handles all types, except the <type>resource</type>-type.
- You can even <function>serialize</function> arrays that contain
- references to itself. References inside the
array/object you
- are <function>serialize</function>ing will also be
stored.
+ You can even <function>serialize</function> arrays that contain
+ references to itself. References inside the array/object you
+ are <function>serialize</function>ing will also be stored.
</simpara>
- <!-- TODO
- in 4.0.4pl1 this
didn't work properly, however, there
- been some fixes. I
don't know whether this all
- works correctly now,
and if so, whether it is since 405
- or 406
- <note>
- <simpara>
- This didn't work correctly until 4.0.?
- </simpara>
- </note>
+ <!-- TODO
+ in 4.0.4pl1 this didn't work properly, however, there
+ been some fixes. I don't know whether this all
+ works correctly now, and if so, whether it is since 405
+ or 406
+ <note>
+ <simpara>
+ This didn't work correctly until 4.0.?
+ </simpara>
+ </note>
</simpara>
- -->
+ -->
<note>
<para>
In PHP 3, object properties will be serialized, but methods are
@@ -995,8 +995,8 @@
</funcsynopsis>
<simpara>
Returns the <type>string</type> value of <parameter>var</parameter>.
- See the documentation on <type>string</type>
for more information
- on converting to string.
+ 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
@@ -1245,7 +1245,7 @@
that includes its type and value. Arrays are explored
recursively with values indented to show structure.
</simpara>
- &tip.ob-capture;
+ &tip.ob-capture;
<simpara>
Compare <function>var_dump</function> to
<function>print_r</function>.