<?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>shesek &#187; PHP</title>
	<atom:link href="http://www.shesek.info/category/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.shesek.info</link>
	<description>Just another web developer blog</description>
	<lastBuildDate>Thu, 18 Aug 2011 04:39:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>PHP Benchmark: The array plus operator VS array_merge</title>
		<link>http://www.shesek.info/php/php-benchmark-the-array-plus-operator-vs-array_merge</link>
		<comments>http://www.shesek.info/php/php-benchmark-the-array-plus-operator-vs-array_merge#comments</comments>
		<pubDate>Sat, 13 Aug 2011 01:56:06 +0000</pubDate>
		<dc:creator>shesek</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[array plus operator]]></category>
		<category><![CDATA[array_merge]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[php benchmark]]></category>

		<guid isPermaLink="false">http://www.shesek.info/?p=404</guid>
		<description><![CDATA[Just a quick post about a benchmark that quite surprised me. The array plus operator ($arr1 + $arr2) is over 6 times faster compared to array_merge. I did expect that to be faster, but not that much. This is the benchmark I used: The results were about the same for several executions. A couple of [...]]]></description>
		<wfw:commentRss>http://www.shesek.info/php/php-benchmark-the-array-plus-operator-vs-array_merge/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generic PHP object wrapper for resources</title>
		<link>http://www.shesek.info/php/generic-php-object-wrapper-for-resources</link>
		<comments>http://www.shesek.info/php/generic-php-object-wrapper-for-resources#comments</comments>
		<pubDate>Mon, 07 Mar 2011 19:46:25 +0000</pubDate>
		<dc:creator>shesek</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[php resource]]></category>
		<category><![CDATA[resource wrapper]]></category>

		<guid isPermaLink="false">http://www.codenition.com/?p=146</guid>
		<description><![CDATA[I hate working with PHP&#8217;s resources. I hate the long function names, I hate repeating the function names prefix, I hate having to pass around the resource variable. It looks like hack that was used instead of real object and classes and it feels dirty compared to OOP code. I personally think it should&#8217;ve been [...]]]></description>
		<wfw:commentRss>http://www.shesek.info/php/generic-php-object-wrapper-for-resources/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transform a transparent PNG to white-background JPG using PHP GD</title>
		<link>http://www.shesek.info/php/transform-a-transparent-png-to-white-background-jpg-using-php-gd</link>
		<comments>http://www.shesek.info/php/transform-a-transparent-png-to-white-background-jpg-using-php-gd#comments</comments>
		<pubDate>Thu, 14 Oct 2010 14:22:33 +0000</pubDate>
		<dc:creator>shesek</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[gd]]></category>
		<category><![CDATA[jpeg]]></category>
		<category><![CDATA[php gd]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[transparent]]></category>

		<guid isPermaLink="false">http://www.codenition.com/?p=133</guid>
		<description><![CDATA[It seems like Facebook doesn&#8217;t handle transparent PNG files very well (they&#8217;re transformed into JPG without handling the transparent background, which ends up as a weird black background), so we needed to transform it ourselves to a white-background JPG to make it display well: Can be used like that:]]></description>
		<wfw:commentRss>http://www.shesek.info/php/transform-a-transparent-png-to-white-background-jpg-using-php-gd/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Toodledo API implemented in PHP</title>
		<link>http://www.shesek.info/php/toodledo-api</link>
		<comments>http://www.shesek.info/php/toodledo-api#comments</comments>
		<pubDate>Mon, 29 Mar 2010 08:46:48 +0000</pubDate>
		<dc:creator>shesek</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[php api]]></category>
		<category><![CDATA[toodledo]]></category>
		<category><![CDATA[toodledo api]]></category>

		<guid isPermaLink="false">http://www.shesek.info/?p=246</guid>
		<description><![CDATA[Toodledo API 2.0 is out, which is not supported by this class. The 1.0 version is depreciated, but still supported for now. I&#8217;ll publish a new version when I have some free time. I couldn&#8217;t find one, so I decided to write a PHP class that talks with Toodledo API. its not very well documented/commented, [...]]]></description>
		<wfw:commentRss>http://www.shesek.info/php/toodledo-api/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>HTTP error 417 with PHP&#8217;s curl</title>
		<link>http://www.shesek.info/php/http-error-417-with-php-curl</link>
		<comments>http://www.shesek.info/php/http-error-417-with-php-curl#comments</comments>
		<pubDate>Thu, 11 Mar 2010 23:59:42 +0000</pubDate>
		<dc:creator>shesek</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[http error 417]]></category>
		<category><![CDATA[http response 417]]></category>
		<category><![CDATA[http status]]></category>
		<category><![CDATA[http status 417]]></category>
		<category><![CDATA[php curl]]></category>

		<guid isPermaLink="false">http://www.shesek.info/?p=241</guid>
		<description><![CDATA[I&#8217;ve been getting 417 response codes (Expectation failed) while making requests with PHP/curl to tinyurl.com (I&#8217;ll probably publish that project here in a week or two). Well, its very annoying. took me some time to figure that one out. If someone else wonders about it, that&#8217;s the deal: If the content length (of the request [...]]]></description>
		<wfw:commentRss>http://www.shesek.info/php/http-error-417-with-php-curl/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>My implementation of PHP Chainable</title>
		<link>http://www.shesek.info/php/my-implementation-of-php-chainable</link>
		<comments>http://www.shesek.info/php/my-implementation-of-php-chainable#comments</comments>
		<pubDate>Tue, 02 Mar 2010 21:49:28 +0000</pubDate>
		<dc:creator>shesek</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[chainable]]></category>
		<category><![CDATA[method chainability]]></category>
		<category><![CDATA[php chainable]]></category>

		<guid isPermaLink="false">http://www.shesek.info/?p=177</guid>
		<description><![CDATA[I needed a way to use method chainability on objects without having to modify the actual class (e.g. extending some Chainable class or implementing one) and without having to &#8220;return $this&#8221; on every method. I came up with, what I believe to be, an elegant simple solution &#8211; a generic approach that can be used [...]]]></description>
		<wfw:commentRss>http://www.shesek.info/php/my-implementation-of-php-chainable/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

