These are characters in wonderland who Phineas and Ferb encounter. They bear a resemblance to Phineas and Ferb (Phineas to the Hatter, and Ferb to the Hare). Unlike Phineas and Ferb who are friendly, they are mischievious troublemakers, who mostly prank the Queen of Hearts, who bears a grudge against them. In "Candace in Wonderland" Phineas and Ferb have adventures with the Hatter and the Hare throughout wonderland, until they pranked the Queen of Hearts by tearing down her statue. Afterwhich they ditched Phineas and Ferb, leaving them red handed. When Phineas and Ferb, broke out of the Queen's dungeon they tear down the newly rebuilt statue, but this leave the Hatter and Hare with the evidence as payback, and get captured by the Queen themselves.