Quote Originally Posted by Lolcopters View Post
PHP Code:
<?php
class shutupandgetout
{
    
    public 
$what;
    public 
$do;
    
    function 
__construct()
    {
        
$this->who "You";
        
$this->do "get out";
        
$this->what$this->who$this->do );
    }
    
    function 
what$who ""$do "" )
    {
        try
        {
            
$arr = array( $who => "You"$do => "leave" );
            
$who = ( $who == "" ) ? $arr[$who] : $who;
            
$do = ( $do == "" ) ? $arr[$do] : $do;
            echo( 
"I think " $who " should " $do );
        }
        catch( 
Exception $exception )
        {
            echo( 
"What? " $exception->getMessage() );
            
        }
    }
    
    function 
__destruct()
    {
        unset( 
$this->who );
        unset( 
$this->do );
        exit( 
"<br />BOOM" );
    }
}
$getout = new shutupandgetout;
?>
wat
Nice class.

@DriftPanzy - A word of advice: Don't argue with Scott Diamond you will not win, not now, not in a million years.