<?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"
	>
<channel>
	<title>Comments on: Wrapping PHP Functions for Testability</title>
	<atom:link href="http://mikenaberezny.com/2007/08/01/wrapping-php-functions-for-testability/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikenaberezny.com/2007/08/01/wrapping-php-functions-for-testability/</link>
	<description></description>
	<pubDate>Tue, 14 Oct 2008 01:13:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Andrew</title>
		<link>http://mikenaberezny.com/2007/08/01/wrapping-php-functions-for-testability/#comment-81002</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Mon, 04 Feb 2008 20:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://mikenaberezny.com/archives/76#comment-81002</guid>
		<description>@Tokem: See the extension Lukas alluded to; http://us.php.net/runkit</description>
		<content:encoded><![CDATA[<p>@Tokem: See the extension Lukas alluded to; <a href="http://us.php.net/runkit" rel="nofollow">http://us.php.net/runkit</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomek</title>
		<link>http://mikenaberezny.com/2007/08/01/wrapping-php-functions-for-testability/#comment-69963</link>
		<dc:creator>Tomek</dc:creator>
		<pubDate>Mon, 17 Dec 2007 11:21:10 +0000</pubDate>
		<guid isPermaLink="false">http://mikenaberezny.com/archives/76#comment-69963</guid>
		<description>I've just realized how flowed the architecture of PHP is (at least in case of testability) if I can't redefine any functions or classes in global scope.
I need to write some test session handling some code and I cannot replace the orginal implementation with fakes without modifying the production code as described in this blog-entry.
Does anybody know a way to work-around this ? Is there aby extention to PHP Core that allows of redefinition of function so I could redefine functions ?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve just realized how flowed the architecture of PHP is (at least in case of testability) if I can&#8217;t redefine any functions or classes in global scope.<br />
I need to write some test session handling some code and I cannot replace the orginal implementation with fakes without modifying the production code as described in this blog-entry.<br />
Does anybody know a way to work-around this ? Is there aby extention to PHP Core that allows of redefinition of function so I could redefine functions ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lukas</title>
		<link>http://mikenaberezny.com/2007/08/01/wrapping-php-functions-for-testability/#comment-38319</link>
		<dc:creator>Lukas</dc:creator>
		<pubDate>Thu, 02 Aug 2007 17:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://mikenaberezny.com/archives/76#comment-38319</guid>
		<description>I guess one could also use runkit to rewrite the functions on the file. Never really used the extension, but I hope that there is a way to call the original implementation if one must.</description>
		<content:encoded><![CDATA[<p>I guess one could also use runkit to rewrite the functions on the file. Never really used the extension, but I hope that there is a way to call the original implementation if one must.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.615 seconds -->
<!-- Cached page served by WP-Cache -->
