Index: is-int.xml
===================================================================
RCS file: /repository/phpdoc/en/reference/var/functions/is-int.xml,v
retrieving revision 1.5
diff -u -r1.5 is-int.xml
--- is-int.xml	20 Jun 2007 22:25:34 -0000	1.5
+++ is-int.xml	12 Sep 2007 19:44:39 -0000
@@ -3,7 +3,7 @@
   <refentry xml:id="function.is-int" xmlns="http://docbook.org/ns/docbook">
    <refnamediv>
     <refname>is_int</refname>
-    <refpurpose>Find whether a variable is an integer</refpurpose>
+    <refpurpose>Find whether the type of a variable is integer</refpurpose>
    </refnamediv>
    <refsect1 role="description">
     &reftitle.description;
@@ -12,7 +12,7 @@
       <methodparam><type>mixed</type><parameter>var</parameter></methodparam>
      </methodsynopsis>
     <para>
-     Finds whether the given variable is an integer.
+     Finds whether the type of the given variable is integer.
     </para>
     <note>
      <para>
@@ -44,6 +44,34 @@
      &false; otherwise.
     </para>
    </refsect1>
+
+ <refsect1 role="is-int.examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title><function>is_int</function> example</title>
+    <programlisting role="php">
+<![CDATA[
+<?php
+var_dump(is_int(23));
+var_dump(is_int("23"));
+var_dump(is_int(true));
+?>
+]]>
+    </programlisting>
+    &example.outputs.similar;
+    <screen>
+<![CDATA[
+bool(true)
+bool(false)
+bool(false)
+]]>
+    </screen>
+   </example>
+  </para>
+ </refsect1>
+
+
    <refsect1 role="seealso">
     &reftitle.seealso;
     <para>
