<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Missing PHP Functions: getopts()</title>
	<atom:link href="http://hash-bang.net/2008/12/missing-php-functions-getopts/feed/" rel="self" type="application/rss+xml" />
	<link>http://hash-bang.net/2008/12/missing-php-functions-getopts/</link>
	<description>The start of all wonderful things</description>
	<lastBuildDate>Sun, 20 Nov 2011 20:29:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: ALeX</title>
		<link>http://hash-bang.net/2008/12/missing-php-functions-getopts/comment-page-1/#comment-3327</link>
		<dc:creator>ALeX</dc:creator>
		<pubDate>Fri, 11 Feb 2011 14:31:58 +0000</pubDate>
		<guid isPermaLink="false">http://hash-bang.net/?p=68#comment-3327</guid>
		<description>Here is a more comfortable implementation: https://github.com/alexkazik/getopts</description>
		<content:encoded><![CDATA[<p>Here is a more comfortable implementation: <a href="https://github.com/alexkazik/getopts" rel="nofollow">https://github.com/alexkazik/getopts</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://hash-bang.net/2008/12/missing-php-functions-getopts/comment-page-1/#comment-2673</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 15 Apr 2010 15:18:54 +0000</pubDate>
		<guid isPermaLink="false">http://hash-bang.net/?p=68#comment-2673</guid>
		<description>I really appreciate your work, but as listed above the syntax &quot;-o=x&quot; or &quot;--o=x&quot; (and you could also support &quot;-ox&quot; for the same purporse, like the original getopt) would be great.
and instead of the &quot;die&quot; a return (with a new array for unknown/malformed options) would be a nice to have.</description>
		<content:encoded><![CDATA[<p>I really appreciate your work, but as listed above the syntax &#8220;-o=x&#8221; or &#8220;&#8211;o=x&#8221; (and you could also support &#8220;-ox&#8221; for the same purporse, like the original getopt) would be great.<br />
and instead of the &#8220;die&#8221; a return (with a new array for unknown/malformed options) would be a nice to have.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mc</title>
		<link>http://hash-bang.net/2008/12/missing-php-functions-getopts/comment-page-1/#comment-2597</link>
		<dc:creator>mc</dc:creator>
		<pubDate>Thu, 28 Jan 2010 23:40:29 +0000</pubDate>
		<guid isPermaLink="false">http://hash-bang.net/?p=68#comment-2597</guid>
		<description>Good point.

I think its about time I updated some of this code anyway to allow some of the other functionality listed in these comments.

I&#039;ll try to get something up soon.</description>
		<content:encoded><![CDATA[<p>Good point.</p>
<p>I think its about time I updated some of this code anyway to allow some of the other functionality listed in these comments.</p>
<p>I&#8217;ll try to get something up soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristopher</title>
		<link>http://hash-bang.net/2008/12/missing-php-functions-getopts/comment-page-1/#comment-2596</link>
		<dc:creator>Kristopher</dc:creator>
		<pubDate>Thu, 28 Jan 2010 16:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://hash-bang.net/?p=68#comment-2596</guid>
		<description>This would be perfect for me, except it doesn&#039;t support

php file.php --option=value</description>
		<content:encoded><![CDATA[<p>This would be perfect for me, except it doesn&#8217;t support</p>
<p>php file.php &#8211;option=value</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mc</title>
		<link>http://hash-bang.net/2008/12/missing-php-functions-getopts/comment-page-1/#comment-2579</link>
		<dc:creator>mc</dc:creator>
		<pubDate>Thu, 31 Dec 2009 03:13:25 +0000</pubDate>
		<guid isPermaLink="false">http://hash-bang.net/?p=68#comment-2579</guid>
		<description>Nice idea. I guess I should add a &#039;description&#039; field to the hash to output what each field means.</description>
		<content:encoded><![CDATA[<p>Nice idea. I guess I should add a &#8216;description&#8217; field to the hash to output what each field means.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://hash-bang.net/2008/12/missing-php-functions-getopts/comment-page-1/#comment-2578</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Wed, 30 Dec 2009 22:11:18 +0000</pubDate>
		<guid isPermaLink="false">http://hash-bang.net/?p=68#comment-2578</guid>
		<description>This was almost exactly what I needed on my current project.  Thanks for saving me from writing this myself.

It would be nice if a -h option would dump all this information in a relatively readable form unless -h/--help is otherwise defined.</description>
		<content:encoded><![CDATA[<p>This was almost exactly what I needed on my current project.  Thanks for saving me from writing this myself.</p>
<p>It would be nice if a -h option would dump all this information in a relatively readable form unless -h/&#8211;help is otherwise defined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mc</title>
		<link>http://hash-bang.net/2008/12/missing-php-functions-getopts/comment-page-1/#comment-2315</link>
		<dc:creator>mc</dc:creator>
		<pubDate>Sun, 27 Sep 2009 01:12:08 +0000</pubDate>
		<guid isPermaLink="false">http://hash-bang.net/?p=68#comment-2315</guid>
		<description>Thanks. Nice to know this is of use to someone out there.

The correction you mentioned has been made to the above. Thanks for pointing it out.</description>
		<content:encoded><![CDATA[<p>Thanks. Nice to know this is of use to someone out there.</p>
<p>The correction you mentioned has been made to the above. Thanks for pointing it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pileofrogs</title>
		<link>http://hash-bang.net/2008/12/missing-php-functions-getopts/comment-page-1/#comment-2290</link>
		<dc:creator>Pileofrogs</dc:creator>
		<pubDate>Thu, 24 Sep 2009 18:43:54 +0000</pubDate>
		<guid isPermaLink="false">http://hash-bang.net/?p=68#comment-2290</guid>
		<description>Cool!  This is the only getopt replacement I could find that did accumulators (or bunding as I knew it).  There was a typo SGETOPT_ACCUMULATE.  Replaced with GETOPT_ACCUMULATE and it seems fine.</description>
		<content:encoded><![CDATA[<p>Cool!  This is the only getopt replacement I could find that did accumulators (or bunding as I knew it).  There was a typo SGETOPT_ACCUMULATE.  Replaced with GETOPT_ACCUMULATE and it seems fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kym</title>
		<link>http://hash-bang.net/2008/12/missing-php-functions-getopts/comment-page-1/#comment-1756</link>
		<dc:creator>Kym</dc:creator>
		<pubDate>Thu, 11 Jun 2009 03:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://hash-bang.net/?p=68#comment-1756</guid>
		<description>but of course argc tells you that before you call getopt.!! silly me. :-(</description>
		<content:encoded><![CDATA[<p>but of course argc tells you that before you call getopt.!! silly me. :-(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kym</title>
		<link>http://hash-bang.net/2008/12/missing-php-functions-getopts/comment-page-1/#comment-1755</link>
		<dc:creator>Kym</dc:creator>
		<pubDate>Thu, 11 Jun 2009 03:43:15 +0000</pubDate>
		<guid isPermaLink="false">http://hash-bang.net/?p=68#comment-1755</guid>
		<description>Otherwise thanks for the script! works well :-)</description>
		<content:encoded><![CDATA[<p>Otherwise thanks for the script! works well :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kym</title>
		<link>http://hash-bang.net/2008/12/missing-php-functions-getopts/comment-page-1/#comment-1754</link>
		<dc:creator>Kym</dc:creator>
		<pubDate>Thu, 11 Jun 2009 03:42:54 +0000</pubDate>
		<guid isPermaLink="false">http://hash-bang.net/?p=68#comment-1754</guid>
		<description>Would be nice to return from getopt() with a value in the case of unknown option, rather than die(), so that the option help could be displayed.</description>
		<content:encoded><![CDATA[<p>Would be nice to return from getopt() with a value in the case of unknown option, rather than die(), so that the option help could be displayed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

