
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Recursive &#187; bug</title>
	<atom:link href="http://blog.jezmckean.com/tag/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jezmckean.com</link>
	<description>adjective: see &#039;Recursive&#039;</description>
	<lastBuildDate>Fri, 09 Dec 2011 20:22:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>PHP Bug: json_encode() misleading warning on object with private properties</title>
		<link>http://blog.jezmckean.com/php-bug-json_encode-misleading-warning-on-object-with-private-properties/</link>
		<comments>http://blog.jezmckean.com/php-bug-json_encode-misleading-warning-on-object-with-private-properties/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 12:03:20 +0000</pubDate>
		<dc:creator>Jez</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.jezmckean.com/?p=211</guid>
		<description><![CDATA[I have found a peculiar issue with PHP&#8217;s json_encode() function. If you have an instance object with private properties and use json_encode() it will give you a very misleading warning. class ExampleObject { private $privateProperty; ... } $obj = new &#8230; <a href="http://blog.jezmckean.com/php-bug-json_encode-misleading-warning-on-object-with-private-properties/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.jezmckean.com/php-bug-json_encode-misleading-warning-on-object-with-private-properties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Bug &#8211; Modulo of small numbers</title>
		<link>http://blog.jezmckean.com/javascript-bug-modulo-of-small-numbers/</link>
		<comments>http://blog.jezmckean.com/javascript-bug-modulo-of-small-numbers/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 09:41:05 +0000</pubDate>
		<dc:creator>Jez</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[js]]></category>

		<guid isPermaLink="false">http://blog.jezmckean.com/javascript-bug-modulo-of-small-numbers/</guid>
		<description><![CDATA[It seems that there is a problem with the modulo function, &#8216;%&#8217;, in JavaScript. For example: 10 % 0.1 should equate to zero but comes out as 0.09999999999999945 probably due to some internal floating-point rounding errors. Easy solution (a hack &#8230; <a href="http://blog.jezmckean.com/javascript-bug-modulo-of-small-numbers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.jezmckean.com/javascript-bug-modulo-of-small-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

