<?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>UltraMega Blog &#187; PHP</title>
	<atom:link href="http://www.ultramegatech.com/blog/category/tutorials/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ultramegatech.com/blog</link>
	<description>Web development blog from UltraMega Tech.</description>
	<lastBuildDate>Tue, 27 Jul 2010 20:44:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Create Callbacks Using __invoke</title>
		<link>http://www.ultramegatech.com/blog/2010/07/create-callbacks-using-invoke/</link>
		<comments>http://www.ultramegatech.com/blog/2010/07/create-callbacks-using-invoke/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 20:44:19 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[callback]]></category>
		<category><![CDATA[invoke]]></category>
		<category><![CDATA[magic methods]]></category>
		<category><![CDATA[OOP]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=856</guid>
		<description><![CDATA[The __invoke magic method (available as of PHP 5.3) is used to make an object callable as if it were a regular function. The combines the usefulness of objects with the simplicity of functions. One application of this feature is creating callback functions that can be passed around like objects. This is common practice in [...]]]></description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2010/07/create-callbacks-using-invoke/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deciphering Magic Methods in PHP</title>
		<link>http://www.ultramegatech.com/blog/2010/07/deciphering-magic-methods-in-php/</link>
		<comments>http://www.ultramegatech.com/blog/2010/07/deciphering-magic-methods-in-php/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 18:36:31 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[magic methods]]></category>
		<category><![CDATA[OOP]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=843</guid>
		<description><![CDATA[Deciphering Magic Methods in PHP &#124; Nettuts+ PHP provides a number of ‘magic’ methods that allow you to do some pretty neat tricks in object oriented programming. These methods, identified by a two underscore prefix (__), function as interceptors that are automatically called when certain conditions are met. Magic methods provide some extremely useful functionality, [...]]]></description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2010/07/deciphering-magic-methods-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Round Robin Tournament Scheduler</title>
		<link>http://www.ultramegatech.com/blog/2010/05/round-robin-tournament-scheduler/</link>
		<comments>http://www.ultramegatech.com/blog/2010/05/round-robin-tournament-scheduler/#comments</comments>
		<pubDate>Tue, 04 May 2010 21:07:13 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[round robin]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[tournament]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=829</guid>
		<description><![CDATA[Here's a snippet I wrote for a project that I thought might come in handy for someone else. It generates a schedule for a round robin tournament. I found some other snippets to do this, but I found them overly complicated or lacking in other ways. Here's an example of what this code does: &#60;?php [...]]]></description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2010/05/round-robin-tournament-scheduler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP: Recursive Functions</title>
		<link>http://www.ultramegatech.com/blog/2010/02/php-recursive-functions/</link>
		<comments>http://www.ultramegatech.com/blog/2010/02/php-recursive-functions/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 01:16:42 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[recursive function]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=820</guid>
		<description><![CDATA[A recursive function is a function that calls itself. This is useful for certain applications. This short tutorial will show an example of a recursive function in action. Let's say we have the following array of categories. Normally this might be stored in a database, but we'll use an array here for simplicity. /* Example [...]]]></description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2010/02/php-recursive-functions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using a PHP Class to Store Configuration</title>
		<link>http://www.ultramegatech.com/blog/2010/02/php-class-to-store-configuration/</link>
		<comments>http://www.ultramegatech.com/blog/2010/02/php-class-to-store-configuration/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 00:20:11 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[classes]]></category>
		<category><![CDATA[objects]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=817</guid>
		<description><![CDATA[In a comment on my post listing 5 Tips for Writing Cleaner PHP Code, some good arguments were made against using constants to store configuration variables. The main arguments is that it pollutes the global namespace, which can lead to collisions when implementing other code, and the way it handles typos. This article demonstrates some [...]]]></description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2010/02/php-class-to-store-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using SSH in PHP</title>
		<link>http://www.ultramegatech.com/blog/2010/01/using-ssh-in-php/</link>
		<comments>http://www.ultramegatech.com/blog/2010/01/using-ssh-in-php/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 23:19:38 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[SSH]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=810</guid>
		<description><![CDATA[This tutorial will show you how to use the SSH2 functions in PHP to execute commands over SSH. This requires the SSH2 PECL extension to be installed on your server (installation instructions). Keep in mind that as of this time, the extension is in a beta state, so stability is not guaranteed. Sending commands is [...]]]></description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2010/01/using-ssh-in-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Snippet: Fetch Twitter Feed (With Retweets) in PHP</title>
		<link>http://www.ultramegatech.com/blog/2009/12/snippet-fetch-twitter-feed-with-retweets-in-php/</link>
		<comments>http://www.ultramegatech.com/blog/2009/12/snippet-fetch-twitter-feed-with-retweets-in-php/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 21:19:17 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[twitter]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=805</guid>
		<description><![CDATA[Here is a PHP that fetches a Twitter stream for a specified user. It also combines retweets with the regular updates. This puts them all in an array to make it easy to output them however you want. This snippet uses APC to cache the data, but you can use any caching method such as [...]]]></description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2009/12/snippet-fetch-twitter-feed-with-retweets-in-php/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>PHP in the Shell</title>
		<link>http://www.ultramegatech.com/blog/2009/12/php-in-the-shell/</link>
		<comments>http://www.ultramegatech.com/blog/2009/12/php-in-the-shell/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 00:38:04 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=787</guid>
		<description><![CDATA[PHP may be most commonly used within a web server to produce web pages, but it is a powerful scripting engine by itself. PHP is an amazingly useful multipurpose tool when used from the command line. This post will show you how to use the PHP Command Line Interface (CLI). Some of the information here [...]]]></description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2009/12/php-in-the-shell/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using cURL Within PHP</title>
		<link>http://www.ultramegatech.com/blog/2009/12/using-curl-within-php/</link>
		<comments>http://www.ultramegatech.com/blog/2009/12/using-curl-within-php/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 22:01:33 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[curl]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=772</guid>
		<description><![CDATA[PHP includes an easy to use interface for the cURL library. This means you can easily communicate with other servers using a variety of protocols. It is commonly used to access web service APIs such as Twitter. This tutorial will explain the basics and show some usage examples. There are 4 main functions you need [...]]]></description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2009/12/using-curl-within-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>10 Common PHP Mistakes to Avoid</title>
		<link>http://www.ultramegatech.com/blog/2009/11/10-common-php-mistakes-to-avoid/</link>
		<comments>http://www.ultramegatech.com/blog/2009/11/10-common-php-mistakes-to-avoid/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 23:51:55 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[programming]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=712</guid>
		<description><![CDATA[These are some very common mistakes that are made in PHP. Some of these can be tricky to catch and can lead to all sorts of strange behavior. So here are 10 common PHP coding mistakes to avoid. 1 '=' Vs. '==' Using a single '=' in a comparison will cause an assignment and return [...]]]></description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2009/11/10-common-php-mistakes-to-avoid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
