<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title></title>
	<link>http://blog.gemmapeter.co.uk</link>
	<description>Gem&#039;s ponderings on PHP programming and other stuff</description>
	<lastBuildDate>Sat, 25 Jul 2009 19:24:11 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Mock PHP 5 exam</title>
		<description><![CDATA[I have been considering going for the Zend PHP 5 certification and bought myself some Zend PHP 5 Practice Exams to see what I need to study up on.
Here is one of the questions I came across.

Which of the following functions are part of PHP's internal Iterator interface?

Answers: (choose 5)
    rewind()
  [...]]]></description>
		<link>http://blog.gemmapeter.co.uk/2009/07/25/mock-php-5-exam/</link>
			</item>
	<item>
		<title>How do I unit test this?</title>
		<description><![CDATA[Came across a tricky bug a few weeks ago whilst working on some extremely fragile code.
This was the code:

settings.php

$mail_settings = array&#40;
    'server' =&#62; 'mail.example.com',
    'port' =&#62; 25
&#41;;


index.php

function send_email&#40;$recipient, $message&#41;
&#123;
    include_once&#40;'settings.php'&#41;;
    $foo = new MailSender&#40;$mail_settings&#41;;
    $foo-&#62;send&#40;$message, $recipient&#41;; //this was line number [...]]]></description>
		<link>http://blog.gemmapeter.co.uk/2009/02/20/how-do-i-unit-test-this/</link>
			</item>
	<item>
		<title>Tomb Raider: Underworld First Impressions</title>
		<description><![CDATA[Yesterday I bought myself the latest instalment of the Tomb Raider series for the Wii.
I spent a while playing it then I came across got stuck in the Level Puppet No Longer in the last room with the ceiling ring where I couldn&#8217;t progress in the game because the switch to open the door had [...]]]></description>
		<link>http://blog.gemmapeter.co.uk/2008/11/22/tomb-raider-underworld-first-impressions/</link>
			</item>
	<item>
		<title>Lego Games</title>
		<description><![CDATA[I&#8217;ve completed two games to 100% this weekend, Lego Star Wars II and Lego Indiana Jones.
For Lego Star Wars II all I had to do was to complete the Super Story modes on each film which basically means playing through the entire of the story mode again except you get timed. I was under the [...]]]></description>
		<link>http://blog.gemmapeter.co.uk/2008/06/09/lego-games/</link>
			</item>
	<item>
		<title>A double standard for adult content</title>
		<description><![CDATA[This is my opinion on the topic of a bill outlawing the possession of &#8220;extreme pornography&#8221; which is set to become law next week. Here&#8217;s the BBC article
Why does porn get a different set of standards? It&#8217;s perfectly legal to show non-pornographic films which contain &#8220;an act which threatens or appears to threaten a person&#8217;s [...]]]></description>
		<link>http://blog.gemmapeter.co.uk/2008/04/29/a-double-standard-for-adult-content/</link>
			</item>
</channel>
</rss>
