Show Output
'; } // Destructor public function __destruct(){ echo 'The class "' . __CLASS__ . '" was destroyed.
'; } } // Create a new object $obj = new MyClass; // Output a message at the end of the file echo "The end of the file is reached.
"; ?>