<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 06 Jul 2008 22:10:57 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: Executing Destructors Manually in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/9623</guid>
      <link>http://www.phpdeveloper.org/news/9623</link>
      <description><![CDATA[<p>
Finishing off their series on destructors in PHP5 applications today, DevShed has posted <a href="http://www.devshed.com/c/a/PHP/Executing-Destructors-Manually-in-PHP-5/">this new tutorial</a> showing how to manually run the destructors of your class (in case there's ever a need).
</p>
<blockquote>
In this final tutorial of the series I'm going to show you how to manually trigger a destructor, and in addition you'll learn how to emulate the behavior of this magic method when using PHP 4.
</blockquote>
<p>
They not only talk about how to <a href="http://www.devshed.com/c/a/PHP/Executing-Destructors-Manually-in-PHP-5/1/">call the destructor</a> manually but they also show how to call multiple destructors at the same time to destroy lots of objects at once. And, as promised, they include <a href="http://www.devshed.com/c/a/PHP/Executing-Destructors-Manually-in-PHP-5/3/">a method</a> for being able to use a destructor-like bit of functionality in a PHP4 app as well.
</p>]]></description>
      <pubDate>Wed, 13 Feb 2008 11:27:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Retrieving Information on Several Objects with Destructors in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/9584</guid>
      <link>http://www.phpdeveloper.org/news/9584</link>
      <description><![CDATA[<p>
DevShed has posted the next-to-last (part four) of their series looking at destructors in PHP5 applications today. <a href="http://www.devshed.com/c/a/PHP/Retrieving-Information-on-Several-Objects-with-Destructors-in-PHP-5/">This time</a> they focus on passing information back out of the destructors as the script is finishing.
</p>
<blockquote>
In this fourth article of the series I'm going to teach you how perform this process when working with multiple objects (remember that you already learned how to achieve this using only one class instance).
</blockquote>
<p>
They start simple, showing how to <a href="http://www.devshed.com/c/a/PHP/Retrieving-Information-on-Several-Objects-with-Destructors-in-PHP-5/1/">handle one object</a> to give you a base to work from. They modify this to expand it out and show the management instead of three different user data objects.
</p>]]></description>
      <pubDate>Thu, 07 Feb 2008 10:28:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Keeping Track of Objects when Using Destructors in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/9527</guid>
      <link>http://www.phpdeveloper.org/news/9527</link>
      <description><![CDATA[<p>
Devshed continues their series looking at the use of destructors in PHP5 applications with <A href="http://www.devshed.com/c/a/PHP/Keeping-Track-of-Objects-when-Using-Destructors-in-PHP-5/">part three</a>, a method for keeping track of objects you've created during execution.
</p>
<blockquote>
In this third part of the series, I'm going to show you how to retrieve some useful information about a specific object, including its properties and methods, prior to its being destroyed by the PHP parser via the implementation of a simple destructor.
</blockquote>
<p>
Their new <a href="http://www.devshed.com/c/a/PHP/Keeping-Track-of-Objects-when-Using-Destructors-in-PHP-5/2/">user class</a> extracts the details about each of the objects right before they're destroyed via a call to get_object_vars and a loop to display the property and its value.
</p>]]></description>
      <pubDate>Wed, 30 Jan 2008 11:19:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Implementing Destructors with Multiple Objects in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/9479</guid>
      <link>http://www.phpdeveloper.org/news/9479</link>
      <description><![CDATA[<p>
DevShed has posted <a href="http://www.devshed.com/c/a/PHP/Implementing-Destructors-with-Multiple-Objects-in-PHP-5/">part two</a> in their series looking at the use of destructors in PHP5. This time they focus on their use with multiple objects inside of an application.
</p>
<blockquote>
Destructors can be used in all sorts of clever ways in the context of a given PHP 5 application, mostly in those cases where it's necessary to keep track of the status of certain objects prior to their being destroyed by the PHP interpreter. In this second chapter you'll learn how to work simultaneously with multiple classes that concretely implement their respective destructors.
</blockquote>
<p>
They revisit their previous example with a <a href="http://www.devshed.com/c/a/PHP/Implementing-Destructors-with-Multiple-Objects-in-PHP-5/1/">simple class</a> that's then extended to allow the flexibility to call the same destructor on multiple instances.
</p>]]></description>
      <pubDate>Wed, 23 Jan 2008 14:57:00 -0600</pubDate>
    </item>
  </channel>
</rss>
