<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.1" -->
<rss version="0.92">
<channel>
	<title>Algis Alekna</title>
	<link>http://www.algisalekna.com</link>
	<description>Independent Web Developer Notes</description>
	<lastBuildDate>Wed, 11 Jun 2008 16:53:11 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>PHP object clone function that works both for PHP4 and PHP5</title>
		<description>Developing PHP applications that should work smooth on any PHP engine version or configuration, I need to invent some code tricks sometimes. One of the common things for me is to get a copy of an object. With PHP4 by default things are passed by value, alhough in PHP5 this ...</description>
		<link>http://www.algisalekna.com/php-object-clone-function-that-works-both-for-php4-and-php5/</link>
			</item>
	<item>
		<title>Implementing Singleton Pattern in PHP4</title>
		<description>Everyone knows how important this pattern is. Unfortunately, PHP4 lacks static class variables so the classic natural way to implement Singleton is not working here. In my applications it do this in the following way:

	In a global include file (you have one for sure) define a singleton helper function: 

function ...</description>
		<link>http://www.algisalekna.com/singleton-pattern-php4/</link>
			</item>
</channel>
</rss>
