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

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

	<blurb fontsize="4em">
	*array_merge()* no longer accepts non-array parameters to merge.
	</blurb>
<break/>
	<example fontsize="1.3em"><![CDATA[<?php
	$scandinavia =
		array('Denmark', 'Norway', 'Finland');
	$uk = "The UK";

	$europe = array_merge($scandinavia, $uk);
	var_dump($europe);
?>]]></example>
<break lines="2"/>

	<blurb fontsize="4em">
	*strr(i)pos()* now searches the full needle inside the haystack, and not
	only the first character of it.
	</blurb>
<break/>
	<example fontsize="1.3em"><![CDATA[<?php
	$haystack = "There are now ten more countries in Europe";
	$needle   = "The Netherlands";

	$pos = strrpos($haystack, $needle);
	var_dump($pos);
?>]]></example>

<break lines="2"/>
	<blurb fontsize="2.5em">PHP 4: *0*</blurb>
	<blurb fontsize="2.5em">PHP 5: *bool(false)*</blurb>
</slide>

