<?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>Digital Transition &#187; PHP</title>
	<atom:link href="http://www.digital-transition.com/archives/category/web/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digital-transition.com</link>
	<description>Benjamin Surkyn's personal blog.</description>
	<lastBuildDate>Sun, 22 Jan 2012 09:38:01 +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 Character encoding in Polish</title>
		<link>http://www.digital-transition.com/archives/2009/php-character-encoding-in-polish/</link>
		<comments>http://www.digital-transition.com/archives/2009/php-character-encoding-in-polish/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 09:48:18 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/?p=426</guid>
		<description><![CDATA[Just came across an annoying problem when reading and displaying a Polish XML file. The default character encoding functions don&#8217;t work because these characters consist of 2 bytes instead of 1. So mb_string functions to the rescue. (The mb stands for multi-byte) Here&#8217;s the solution: mb_internal_encoding('UTF-8'); mb_regex_encoding('UTF-8'); $tmp_info = mb_ereg_replace('&#211;', '&#38;#211;', $tmp_info); $tmp_info = mb_ereg_replace('&#211;', [...]]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2009/php-character-encoding-in-polish/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Implode doesn&#8217;t work on classes</title>
		<link>http://www.digital-transition.com/archives/2009/implode-doesnt-work-on-classes/</link>
		<comments>http://www.digital-transition.com/archives/2009/implode-doesnt-work-on-classes/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 15:09:31 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Magic Methods]]></category>
		<category><![CDATA[__ToString]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/?p=403</guid>
		<description><![CDATA[Implode The PHP function implode is one I use frequently. When you have an array of strings and want to put them in a string, separated by commas, you can either write a loop like this: $arr = array('one', 'two', 'three', 'four', 'five'); $str = ''; foreach($arr as $item) { $str .= $item . ','; [...]]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2009/implode-doesnt-work-on-classes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 principles of Object Oriented Class Design</title>
		<link>http://www.digital-transition.com/archives/2009/5-principles-of-object-oriented-class-design/</link>
		<comments>http://www.digital-transition.com/archives/2009/5-principles-of-object-oriented-class-design/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 10:40:43 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/?p=396</guid>
		<description><![CDATA[SRP (The Single Responsibility Principle): A class should have one, and only one, reason to change. OCP (The Open Closed Principle): You should be able to extend a classe&#8217;s behavior, without modifying it. LSP (The Liskov Substitution Principle): Derived classes must be substitutable for their base classes. DIP (The Dependency Inversion Principle): Depend on abstractions, [...]]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2009/5-principles-of-object-oriented-class-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The exception is magic</title>
		<link>http://www.digital-transition.com/archives/2007/the-exception-is-magic/</link>
		<comments>http://www.digital-transition.com/archives/2007/the-exception-is-magic/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 11:59:58 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[Blurbs]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/archives/2007/the-exception-is-magic/</guid>
		<description><![CDATA[When looking up __FILE__ in the PHP manual I came across this: &#8220;A constant is an identifier (name) for a simple value. As the name suggests, that value cannot change during the execution of the script (except for magic constants, which aren&#8217;t actually constants).&#8221; In my opinion, &#8220;magic constants&#8221; isn&#8217;t very descriptive. (same with magic_quotes)]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2007/the-exception-is-magic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bye Bye PHP 4</title>
		<link>http://www.digital-transition.com/archives/2007/bye-bye-php-4/</link>
		<comments>http://www.digital-transition.com/archives/2007/bye-bye-php-4/#comments</comments>
		<pubDate>Sat, 25 Aug 2007 11:37:12 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/archives/2007/bye-bye-php-4/</guid>
		<description><![CDATA[PHP 4 has been arround a long time, since 2000 actually. On July 13, php.net announced that PHP 4 (which has been in maintenance-only mode for 3 years) will be discontinued, because PHP 5 has been available for 3 years and PHP 6 is on the way. The adoption of PHP 5 has been slow, [...]]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2007/bye-bye-php-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP deployment statistics June 2006</title>
		<link>http://www.digital-transition.com/archives/2006/php-deployment-statistics-june-2006/</link>
		<comments>http://www.digital-transition.com/archives/2006/php-deployment-statistics-june-2006/#comments</comments>
		<pubDate>Fri, 14 Jul 2006 08:55:55 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/archives/2006/php-deployment-statistics-june-2006/</guid>
		<description><![CDATA[When you&#8217;re writing PHP it&#8217;s always handy to know how well PHP is ditributed and what versions are most common. So let&#8217;s check out the PHP statistics for June 2006. A little more than 1 third of the webservers is running some version of PHP (probably more, but not all servers show they do so). [...]]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2006/php-deployment-statistics-june-2006/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5</title>
		<link>http://www.digital-transition.com/archives/2004/php-5/</link>
		<comments>http://www.digital-transition.com/archives/2004/php-5/#comments</comments>
		<pubDate>Wed, 14 Jul 2004 08:46:59 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/?p=105</guid>
		<description><![CDATA[PHP 5 has been released today! I&#8217;ve been looking out for this for a while now, since version 5 prefers object oriented code instead of procedural. I&#8217;m interested to see, how many scripts (both the ones I use and the ones I created) will still work]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2004/php-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

