<?php
/**
 * 
 *
 * @author  kalibora
 * @version $Id$
 *
 * usage:
 *
 */

class Fuga {

    /**
     * constructor
     *
     */
    function Fuga( )
    {
        register_shutdown_function(array(&$this, '_' . __CLASS__));
        echo "'" . __CLASS__ . "' class '" . 
            __FUNCTION__ . "' method called.<br />\n";
    }

    /**
     * destructor (emulate)
     *
     */
    function _Fuga( )
    {
        echo "'" . __CLASS__ . "' class '" . 
            __FUNCTION__ . "' method called.<br />\n";
    }
}
?>