<?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: Writing Solid PHP</title>
	<atom:link href="http://chadaustin.me/2006/10/writing-solid-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://chadaustin.me/2006/10/writing-solid-php/</link>
	<description></description>
	<lastBuildDate>Tue, 06 Mar 2012 21:20:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ext_119666</title>
		<link>http://chadaustin.me/2006/10/writing-solid-php/comment-page-1/#comment-4387</link>
		<dc:creator>ext_119666</dc:creator>
		<pubDate>Thu, 28 Aug 2008 12:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://aegisknight.org/new/2006/10/01/writing-solid-php/#comment-4387</guid>
		<description>Whoa! I&#039;ve been doing that as well, and I hadn&#039;t even been thinking about it! I can see how doing it natively would go against the spirit of all the silent and dynamic declarations and typing.

Speaking of php silently munging types, and functions passed as an array... The pecl extension libcurl in latish (&gt;5.1) versions of php can &quot;sort of&quot; (you need to call two or three functions, but you get there) take an arbitrary number of pseudo-parameters in an array through the function curl_setopt_array() (I think it&#039;s called) .. Long story short though... I haven&#039;t figured out which constants I can actually put through there without it issuing a warning (that&#039;s right, not a notice.. A WARNING) ... making it an irritating function. I haven&#039;t tried giving it integer values yet, maybe that will work.... lol....

And ANOTHER thing! In PHP5 (tested under 5.2.x) I found interesting behaviour from file_get_contents() .. I think it will be fixed in PHP6 and is acknowledged as a bug (maybe even php 5.3) but try giving the function an error (say, a file doesn&#039;t exist or the redirection limit is exceeded if over http) and attempt to try/catch it. You can&#039;t. With the great new private, public, protected, extended and so on and so forth classy power of recent php versions - and with the object oriented nature of a lot of common extensions and built in functions now such as things to do  with dates - well, some things throw exceptions and some just throw errors.

How do you deal with this? It was a only a 200-line toy script where this actually stung me, but what I had to do was to implement a custom error handler (for that!?)... So if you want to use try/catch then in some specific situations you need to have an error handler AND an exception handler. Small thing to care about but a gotcha -- this is why people test what they write, I guess.

Regardless, on that script I just die for most issues, or at least complain very loudly and let it happen five times and then die.

Wow, I&#039;ve written so many words and yet I haven&#039;t actually said anything. Meh, maybe someone can salvage something from it; I&#039;ll submit it anyway :P</description>
		<content:encoded><![CDATA[<p>Whoa! I&#8217;ve been doing that as well, and I hadn&#8217;t even been thinking about it! I can see how doing it natively would go against the spirit of all the silent and dynamic declarations and typing.</p>
<p>Speaking of php silently munging types, and functions passed as an array&#8230; The pecl extension libcurl in latish (>5.1) versions of php can &#8220;sort of&#8221; (you need to call two or three functions, but you get there) take an arbitrary number of pseudo-parameters in an array through the function curl_setopt_array() (I think it&#8217;s called) .. Long story short though&#8230; I haven&#8217;t figured out which constants I can actually put through there without it issuing a warning (that&#8217;s right, not a notice.. A WARNING) &#8230; making it an irritating function. I haven&#8217;t tried giving it integer values yet, maybe that will work&#8230;. lol&#8230;.</p>
<p>And ANOTHER thing! In PHP5 (tested under 5.2.x) I found interesting behaviour from file_get_contents() .. I think it will be fixed in PHP6 and is acknowledged as a bug (maybe even php 5.3) but try giving the function an error (say, a file doesn&#8217;t exist or the redirection limit is exceeded if over http) and attempt to try/catch it. You can&#8217;t. With the great new private, public, protected, extended and so on and so forth classy power of recent php versions &#8211; and with the object oriented nature of a lot of common extensions and built in functions now such as things to do  with dates &#8211; well, some things throw exceptions and some just throw errors.</p>
<p>How do you deal with this? It was a only a 200-line toy script where this actually stung me, but what I had to do was to implement a custom error handler (for that!?)&#8230; So if you want to use try/catch then in some specific situations you need to have an error handler AND an exception handler. Small thing to care about but a gotcha &#8212; this is why people test what they write, I guess.</p>
<p>Regardless, on that script I just die for most issues, or at least complain very loudly and let it happen five times and then die.</p>
<p>Wow, I&#8217;ve written so many words and yet I haven&#8217;t actually said anything. Meh, maybe someone can salvage something from it; I&#8217;ll submit it anyway :P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://chadaustin.me/2006/10/writing-solid-php/comment-page-1/#comment-4386</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Thu, 29 Nov 2007 20:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://aegisknight.org/new/2006/10/01/writing-solid-php/#comment-4386</guid>
		<description>Generally speaking, the average fitness enthusiast has very little desire to ever look like a bodybuilder.</description>
		<content:encoded><![CDATA[<p>Generally speaking, the average fitness enthusiast has very little desire to ever look like a bodybuilder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://chadaustin.me/2006/10/writing-solid-php/comment-page-1/#comment-4385</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Thu, 16 Aug 2007 07:00:53 +0000</pubDate>
		<guid isPermaLink="false">http://aegisknight.org/new/2006/10/01/writing-solid-php/#comment-4385</guid>
		<description>Hi all! 
  I don&#039;t know what happend? Where are  you many?
G&#039;night</description>
		<content:encoded><![CDATA[<p>Hi all!<br />
  I don&#8217;t know what happend? Where are  you many?<br />
G&#8217;night</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://chadaustin.me/2006/10/writing-solid-php/comment-page-1/#comment-4384</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Tue, 17 Jul 2007 15:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://aegisknight.org/new/2006/10/01/writing-solid-php/#comment-4384</guid>
		<description>Jessica Simpson Cleavage And Nipple Slip 
[URL=http://teens.greatsam.info][b]Jessica Simpson Video!![/b][/URL]</description>
		<content:encoded><![CDATA[<p>Jessica Simpson Cleavage And Nipple Slip<br />
[URL=http://teens.greatsam.info][b]Jessica Simpson Video!![/b][/URL]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://chadaustin.me/2006/10/writing-solid-php/comment-page-1/#comment-4383</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Thu, 12 Jul 2007 01:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://aegisknight.org/new/2006/10/01/writing-solid-php/#comment-4383</guid>
		<description>Did you know you can 
use a second mortgage home loan to “unlock” the equity sitting in their home and turning it into cash? Many homeowners have money just sitting around their house – literally in their house. Real estate has been appreciating steadily all over the country. Many home owners have tens of thousands of dollars in equity in the value of their home! 
 
 
 
Ultimately, it makes good financial sense to let your real estate investment work for you, and a second mortgage can be a great way to take full advantage of the equity in your home. 
 
 
 
 
[url=http://mortgage.9cy.com]Click for viewing the Certain Programs of the Loan[/url]</description>
		<content:encoded><![CDATA[<p>Did you know you can<br />
use a second mortgage home loan to “unlock” the equity sitting in their home and turning it into cash? Many homeowners have money just sitting around their house – literally in their house. Real estate has been appreciating steadily all over the country. Many home owners have tens of thousands of dollars in equity in the value of their home! </p>
<p>Ultimately, it makes good financial sense to let your real estate investment work for you, and a second mortgage can be a great way to take full advantage of the equity in your home. </p>
<p>[url=http://mortgage.9cy.com]Click for viewing the Certain Programs of the Loan[/url]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://chadaustin.me/2006/10/writing-solid-php/comment-page-1/#comment-4382</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Sat, 07 Jul 2007 04:42:47 +0000</pubDate>
		<guid isPermaLink="false">http://aegisknight.org/new/2006/10/01/writing-solid-php/#comment-4382</guid>
		<description>I need something similar, but is cheaper
 [url=http://travelingwilburys.vdforum.ru/t25.html]You tube traveling wilburys[/url]</description>
		<content:encoded><![CDATA[<p>I need something similar, but is cheaper<br />
 [url=http://travelingwilburys.vdforum.ru/t25.html]You tube traveling wilburys[/url]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://chadaustin.me/2006/10/writing-solid-php/comment-page-1/#comment-4381</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Sun, 01 Jul 2007 21:13:47 +0000</pubDate>
		<guid isPermaLink="false">http://aegisknight.org/new/2006/10/01/writing-solid-php/#comment-4381</guid>
		<description>[url=http://porn-club.info]Hi! Check out our Porn Cams Online over 100 real time. All kind of sex.[/url] 
The best site for adult. Online webcams.</description>
		<content:encoded><![CDATA[<p>[url=http://porn-club.info]Hi! Check out our Porn Cams Online over 100 real time. All kind of sex.[/url]<br />
The best site for adult. Online webcams.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://chadaustin.me/2006/10/writing-solid-php/comment-page-1/#comment-4380</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Sun, 01 Jul 2007 17:17:48 +0000</pubDate>
		<guid isPermaLink="false">http://aegisknight.org/new/2006/10/01/writing-solid-php/#comment-4380</guid>
		<description>seriously saved so much money going through these guys...
[url=http://bathroomdesign.virtuastudio.info]bathroomdesign[/url]  
  
check em out. well worth it</description>
		<content:encoded><![CDATA[<p>seriously saved so much money going through these guys&#8230;<br />
[url=http://bathroomdesign.virtuastudio.info]bathroomdesign[/url]  </p>
<p>check em out. well worth it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://chadaustin.me/2006/10/writing-solid-php/comment-page-1/#comment-4379</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Wed, 27 Jun 2007 00:52:39 +0000</pubDate>
		<guid isPermaLink="false">http://aegisknight.org/new/2006/10/01/writing-solid-php/#comment-4379</guid>
		<description>Sorry pleasee :( 
Wrong category.... 
 
will be careful</description>
		<content:encoded><![CDATA[<p>Sorry pleasee :(<br />
Wrong category&#8230;. </p>
<p>will be careful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://chadaustin.me/2006/10/writing-solid-php/comment-page-1/#comment-4378</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Tue, 26 Jun 2007 12:49:02 +0000</pubDate>
		<guid isPermaLink="false">http://aegisknight.org/new/2006/10/01/writing-solid-php/#comment-4378</guid>
		<description>Hi 
help to find driver dvd sony 7101 
[URL=http://allfreewww.org/buy-soma]soma[/URL] 
Bye</description>
		<content:encoded><![CDATA[<p>Hi<br />
help to find driver dvd sony 7101<br />
[URL=http://allfreewww.org/buy-soma]soma[/URL]<br />
Bye</p>
]]></content:encoded>
	</item>
</channel>
</rss>

