<HTML ><HEAD ><TITLE >is_integer</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK REL="HOME" TITLE="PHP Manual" HREF="manual.html"><LINK REL="UP" TITLE="Variable functions" HREF="ref.var.html"><LINK REL="PREVIOUS" TITLE="is_int" HREF="function.is-int.html"><LINK REL="NEXT" TITLE="is_long" HREF="function.is-long.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.is-int.html" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.is-long.html" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.is-integer" >is_integer</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN27512" ></A >is_integer -- Find whether a variable is an integer.</DIV ><DIV CLASS="refsect1" ><A NAME="AEN27515" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><P ></P ><CODE CLASS="FUNCDEF" >int is_integer</CODE >(mixed var);<P ></P ></DIV ><P > This function is an alias for <A HREF="function.is-long.html" ><B CLASS="function" >is_long()</B ></A >. </P ><P > See also <A HREF="function.is-double.html" ><B CLASS="function" >is_double()</B ></A >, <A HREF="function.is-float.html" ><B CLASS="function" >is_float()</B ></A >, <A HREF="function.is-int.html" ><B CLASS="function" >is_int()</B ></A >, <A HREF="function.is-string.html" ><B CLASS="function" >is_string()</B ></A >, <A HREF="function.is-real.html" ><B CLASS="function" >is_real()</B ></A >, <A HREF="function.is-object.html" ><B CLASS="function" >is_object()</B ></A >, <A HREF="function.is-array.html" ><B CLASS="function" >is_array()</B ></A >, and <A HREF="function.is-long.html" ><B CLASS="function" >is_long()</B ></A >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.is-int.html" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="manual.html" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.is-long.html" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >is_int</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.var.html" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >is_long</TD ></TR ></TABLE ></DIV ></BODY ></HTML >