<?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: The most useful function you will ever use in the Zend Framework</title>
	<atom:link href="http://jaybill.com/2007/10/01/the-most-useful-function-you-will-ever-use-in-the-zend-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://jaybill.com/2007/10/01/the-most-useful-function-you-will-ever-use-in-the-zend-framework/</link>
	<description>Jaybill McCarthy&#039;s blog.</description>
	<lastBuildDate>Fri, 23 Jul 2010 22:30:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jaybill McCarthy</title>
		<link>http://jaybill.com/2007/10/01/the-most-useful-function-you-will-ever-use-in-the-zend-framework/comment-page-1/#comment-741</link>
		<dc:creator>Jaybill McCarthy</dc:creator>
		<pubDate>Fri, 23 Jul 2010 22:30:38 +0000</pubDate>
		<guid isPermaLink="false">http://jaybill.com/2007/10/01/the-most-useful-function-you-will-ever-use-in-the-zend-framework/#comment-741</guid>
		<description>@chris thanks! I will totally check that out!</description>
		<content:encoded><![CDATA[<p>@chris thanks! I will totally check that out!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://jaybill.com/2007/10/01/the-most-useful-function-you-will-ever-use-in-the-zend-framework/comment-page-1/#comment-740</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 23 Jul 2010 21:40:52 +0000</pubDate>
		<guid isPermaLink="false">http://jaybill.com/2007/10/01/the-most-useful-function-you-will-ever-use-in-the-zend-framework/#comment-740</guid>
		<description>There&#039;s a handy tool on the xdebug site now that takes just about all of the guesswork out of installing it:  http://xdebug.com/find-binary.php</description>
		<content:encoded><![CDATA[<p>There&#8217;s a handy tool on the xdebug site now that takes just about all of the guesswork out of installing it:  <a href="http://xdebug.com/find-binary.php" rel="nofollow">http://xdebug.com/find-binary.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaybill McCarthy</title>
		<link>http://jaybill.com/2007/10/01/the-most-useful-function-you-will-ever-use-in-the-zend-framework/comment-page-1/#comment-737</link>
		<dc:creator>Jaybill McCarthy</dc:creator>
		<pubDate>Wed, 14 Jul 2010 21:38:37 +0000</pubDate>
		<guid isPermaLink="false">http://jaybill.com/2007/10/01/the-most-useful-function-you-will-ever-use-in-the-zend-framework/#comment-737</guid>
		<description>@Jahufar - Define &quot;efficient&quot;. :) It takes a day and a half to get xdebug working.</description>
		<content:encoded><![CDATA[<p>@Jahufar &#8211; Define &#8220;efficient&#8221;. :) It takes a day and a half to get xdebug working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jahufar</title>
		<link>http://jaybill.com/2007/10/01/the-most-useful-function-you-will-ever-use-in-the-zend-framework/comment-page-1/#comment-725</link>
		<dc:creator>Jahufar</dc:creator>
		<pubDate>Wed, 23 Jun 2010 10:32:41 +0000</pubDate>
		<guid isPermaLink="false">http://jaybill.com/2007/10/01/the-most-useful-function-you-will-ever-use-in-the-zend-framework/#comment-725</guid>
		<description>Setup Zend Studio + xDebug 

Set a breakpoint where you want and inspect the variables at runtime.

Way more efficient.

Just my 2 cents.</description>
		<content:encoded><![CDATA[<p>Setup Zend Studio + xDebug </p>
<p>Set a breakpoint where you want and inspect the variables at runtime.</p>
<p>Way more efficient.</p>
<p>Just my 2 cents.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Devon</title>
		<link>http://jaybill.com/2007/10/01/the-most-useful-function-you-will-ever-use-in-the-zend-framework/comment-page-1/#comment-682</link>
		<dc:creator>Joe Devon</dc:creator>
		<pubDate>Tue, 08 Jun 2010 18:49:40 +0000</pubDate>
		<guid isPermaLink="false">http://jaybill.com/2007/10/01/the-most-useful-function-you-will-ever-use-in-the-zend-framework/#comment-682</guid>
		<description>Nice, I&#039;ve done something similar in the past... 

Now I have a debugger &amp; a logger function...it uses firephp to dump vars, arrays and database calls to firebug so I can have the page display as normal, but the debug info is visible. 

A bonus is that it only runs in dev so I can leave the debugger statement in (for example, when I use caching, I always spit out to debugger if it&#039;s a cache hit or miss...) no need to remove that line... and if you want to see this debug data in production you just log it and no one has to know you&#039;re debugging.</description>
		<content:encoded><![CDATA[<p>Nice, I&#8217;ve done something similar in the past&#8230; </p>
<p>Now I have a debugger &amp; a logger function&#8230;it uses firephp to dump vars, arrays and database calls to firebug so I can have the page display as normal, but the debug info is visible. </p>
<p>A bonus is that it only runs in dev so I can leave the debugger statement in (for example, when I use caching, I always spit out to debugger if it&#8217;s a cache hit or miss&#8230;) no need to remove that line&#8230; and if you want to see this debug data in production you just log it and no one has to know you&#8217;re debugging.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Kendall</title>
		<link>http://jaybill.com/2007/10/01/the-most-useful-function-you-will-ever-use-in-the-zend-framework/comment-page-1/#comment-110</link>
		<dc:creator>Jeremy Kendall</dc:creator>
		<pubDate>Thu, 03 Jan 2008 19:06:06 +0000</pubDate>
		<guid isPermaLink="false">http://jaybill.com/2007/10/01/the-most-useful-function-you-will-ever-use-in-the-zend-framework/#comment-110</guid>
		<description>Nice.  I must type Zend_Debug... at least 10 times a day.  This is one of those things that you see and think, &quot;Why didn&#039;t I think of that?&quot;

I make heavy use of the $label param myself, so I modded the functions to include both $label and $echo params, ie: 

d($val, $label=&quot;&quot;, $echo=true);

Works like a charm.</description>
		<content:encoded><![CDATA[<p>Nice.  I must type Zend_Debug&#8230; at least 10 times a day.  This is one of those things that you see and think, &#8220;Why didn&#8217;t I think of that?&#8221;</p>
<p>I make heavy use of the $label param myself, so I modded the functions to include both $label and $echo params, ie: </p>
<p>d($val, $label=&#8221;", $echo=true);</p>
<p>Works like a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Gardner</title>
		<link>http://jaybill.com/2007/10/01/the-most-useful-function-you-will-ever-use-in-the-zend-framework/comment-page-1/#comment-87</link>
		<dc:creator>Matt Gardner</dc:creator>
		<pubDate>Sat, 13 Oct 2007 23:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://jaybill.com/2007/10/01/the-most-useful-function-you-will-ever-use-in-the-zend-framework/#comment-87</guid>
		<description>Nice man. I&#039;ve taken this a little further by allowing a &#039;developer&#039; flag to ensure any calls that make it to production are at least hidden. Next level would be to post a warning instead so any that remain will be logged.

if ($config-&gt;developer == true){
    $front-&gt;throwExceptions(true);
    function d($val) { Zend_Debug::dump($val); }
    function dd($val){ d($val); die(); }
} else {
    function d($val) { return; }
    function dd($val){ return; }
}

Thanks, Matt</description>
		<content:encoded><![CDATA[<p>Nice man. I&#8217;ve taken this a little further by allowing a &#8216;developer&#8217; flag to ensure any calls that make it to production are at least hidden. Next level would be to post a warning instead so any that remain will be logged.</p>
<p>if ($config-&gt;developer == true){<br />
    $front-&gt;throwExceptions(true);<br />
    function d($val) { Zend_Debug::dump($val); }<br />
    function dd($val){ d($val); die(); }<br />
} else {<br />
    function d($val) { return; }<br />
    function dd($val){ return; }<br />
}</p>
<p>Thanks, Matt</p>
]]></content:encoded>
	</item>
</channel>
</rss>
