$this->whatnow = $g; } function printall() { echo "<h2 style='padding:0;margin:0 0 10px 0;'>What do you want to know?</h2>"; echo "My full name is " . $this->FullName . "<br>"; echo "My birthday is on " . $this->Birthday . "<br>"; echo "My favorite song is " . $this->FavoriteSong . "<br>"; echo "My personal favorite extra-curricular is " . $this->BestExtraCurricular . "<br>"; echo "I am in the class of " . $this->GraduationYear . "<br>"; echo "My favorite class is " . $this->favoriteClass . "<br><br>"; } function __destruct() { echo $this->whatnow . " has been changed to another song<br><br>"; } function __toString() { return "This is the class object, not some text to be just printed, so it IS important<br><br>"; } } $reminder = new me("Jonathan Richard Zimmer", "March 14", "Fireflies by Owl City", "First Tech Challenge", 2018, "my computer class", "My favorite song"); $reminder->test(); $reminder->printall(); echo $reminder; $reminder = "plant"; ?> </div> </center>