<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Understanding and Validating Integers in PHP</title>
	<atom:link href="http://roshanbh.com.np/2008/05/understanding-and-validating-integers-in-php.html/feed" rel="self" type="application/rss+xml" />
	<link>http://roshanbh.com.np/2008/05/understanding-and-validating-integers-in-php.html</link>
	<description>Useful Tutorials, Scripts , Tips, and Resources for all PHP and Ajax beginners and experts .</description>
	<lastBuildDate>Mon, 07 May 2012 21:11:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: manikantan.v.r</title>
		<link>http://roshanbh.com.np/2008/05/understanding-and-validating-integers-in-php.html/comment-page-1#comment-6557</link>
		<dc:creator>manikantan.v.r</dc:creator>
		<pubDate>Thu, 23 Jun 2011 10:11:12 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/?p=102#comment-6557</guid>
		<description>easy to understand thanks</description>
		<content:encoded><![CDATA[<p>easy to understand thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manoj</title>
		<link>http://roshanbh.com.np/2008/05/understanding-and-validating-integers-in-php.html/comment-page-1#comment-5352</link>
		<dc:creator>Manoj</dc:creator>
		<pubDate>Mon, 12 Apr 2010 09:59:55 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/?p=102#comment-5352</guid>
		<description>i always suspect for validate integer value but now i am sure how to validate integer value.
Thanks all</description>
		<content:encoded><![CDATA[<p>i always suspect for validate integer value but now i am sure how to validate integer value.<br />
Thanks all</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suresh</title>
		<link>http://roshanbh.com.np/2008/05/understanding-and-validating-integers-in-php.html/comment-page-1#comment-840</link>
		<dc:creator>Suresh</dc:creator>
		<pubDate>Mon, 12 May 2008 19:10:32 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/?p=102#comment-840</guid>
		<description>thanxs</description>
		<content:encoded><![CDATA[<p>thanxs</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roshan</title>
		<link>http://roshanbh.com.np/2008/05/understanding-and-validating-integers-in-php.html/comment-page-1#comment-795</link>
		<dc:creator>Roshan</dc:creator>
		<pubDate>Tue, 06 May 2008 16:36:13 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/?p=102#comment-795</guid>
		<description>Thanks for heads up shafiq....I&#039;ve mentioned it in the post</description>
		<content:encoded><![CDATA[<p>Thanks for heads up shafiq&#8230;.I&#8217;ve mentioned it in the post</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shafiq Rehman</title>
		<link>http://roshanbh.com.np/2008/05/understanding-and-validating-integers-in-php.html/comment-page-1#comment-794</link>
		<dc:creator>Shafiq Rehman</dc:creator>
		<pubDate>Tue, 06 May 2008 12:50:24 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/?p=102#comment-794</guid>
		<description>If you are using ctype_digit() function to validate integer values you must keep in mind that it will return true when you pass ZERO (0) to it.

Check the different behaviors of this function

ctype_digit(&#039;0&#039;); // return true
ctype_digit(0); // return false
ctype_digit(&#039;1&#039;); // return true
ctype_digit(1); // return false</description>
		<content:encoded><![CDATA[<p>If you are using ctype_digit() function to validate integer values you must keep in mind that it will return true when you pass ZERO (0) to it.</p>
<p>Check the different behaviors of this function</p>
<p>ctype_digit(&#8217;0&#8242;); // return true<br />
ctype_digit(0); // return false<br />
ctype_digit(&#8217;1&#8242;); // return true<br />
ctype_digit(1); // return false</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 3/9 queries in 0.081 seconds using disk: basic
Object Caching 258/258 objects using disk: basic

Served from: roshanbh.com.np @ 2012-05-17 07:09:03 -->
