<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
	<title>Incompabilities</title>
	<subtitle>Comparing objects</subtitle>

	<image align="right" marginright="1em" filename="compare.jpg"/>

<example><![CDATA[<?php
	class Country {
		var $area;
		function Country($area) {
			$this->area = $area;
		}
	}
	$deutschland = new Country('West Europe');
	$die_schweiz = new Country('West Europe');

	if ($deutschland == $die_schweiz)
		echo "Deutschland ist die Schweiz.\n";
	if ($deutschland === $die_schweiz)
		echo "Deutschland ist die Schweiz.\n";
?>]]></example>
<break/>

	<blurb>In PHP 4 *$obj1 ==(=) $obj2* result in *true* when the object's
	properties are the same</blurb>
<break lines="3"/>
	<blurb>In PHP 5 *$obj1 == $obj2* results in *true* when the object's
	properties are the same</blurb>
<break/>	
	<blurb>In PHP 5 *$obj1 === $obj2* results in *true* when the object's
	*handles* are the same</blurb>
</slide>

