<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.7.3" -->
<rss version="2.0">
	<channel>
		<title>PHP Function Overloading</title>
		<description>Comments for PHP Function Overloading at http://john.codecall.net , comment 1 to 4 out of 4 comments</description>
		<link>http://john.codecall.net</link>
		<lastBuildDate>Tue, 02 Dec 2008 18:31:31 +0100</lastBuildDate>
        <generator>FeedCreator 1.7.3</generator>
		<item>
			<title>...</title>
			<link>http://john.codecall.net/component/myblog/PHP-Function-Overloading.html#comment-145</link>
			<description>When using three parameters, $host is indeed the host server. However, when using a single parameter, $host is a data source name (not an actual host server address).

I couldn't find anything about overloading being part of PHP 6. Although, I am sure it will be implemented in soon-to-come versions. At least we get the long awaited namespaces with php 5.3. - John</description>
			<pubDate>Sun, 29 Jun 2008 18:49:06 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://john.codecall.net/component/myblog/PHP-Function-Overloading.html#comment-142</link>
			<description>How does $host become misleading?  I bet function overloading will be a part of PHP 6 though. - Jordan</description>
			<pubDate>Sun, 29 Jun 2008 15:38:42 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://john.codecall.net/component/myblog/PHP-Function-Overloading.html#comment-140</link>
			<description>I agree, but then the variable name $host becomes misleading. Nonetheless, PHP is missing a very important OOP aspect :/  - John</description>
			<pubDate>Sun, 29 Jun 2008 11:43:33 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://john.codecall.net/component/myblog/PHP-Function-Overloading.html#comment-139</link>
			<description>I prefer to use the first method (vs func_get_arg) for documentation purposes.  In 3 months if you came back to your code it would be a lot easier to read:

connect($host, $username=null, $password=null) 
[b]
than[/b]

connect() extracting the func_get_arg. 
 - Jordan</description>
			<pubDate>Sun, 29 Jun 2008 10:20:53 +0100</pubDate>
		</item>
	</channel>
</rss>
