<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - tiaonlab</title>
<link>http://snipplr.com/users/tiaonlab/tags/bitwise</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 04 Dec 2008 18:49:42 GMT</pubDate>
<item>
<title>(PHP) Test if a number is odd or even using bitwise operator</title>
<link>http://snipplr.com/view/2431/test-if-a-number-is-odd-or-even-using-bitwise-operator/</link>
<description><![CDATA[ <p>In PHP &amp; or AND is a bitwise operator. When used it performs bitwise operation between two numbers. In the following example, the operator will test if the last bit of $number is 1. Thus successfully tests if $number is even or odd.</p> ]]></description>
<pubDate>Wed, 04 Apr 2007 09:25:21 GMT</pubDate>
<guid>http://snipplr.com/view/2431/test-if-a-number-is-odd-or-even-using-bitwise-operator/</guid>
</item>
</channel>
</rss>