The Flynnstones

The Flynns and Flecthers visit the museum where Julia, Lizzie and Thomas find the same time machine that Phineas and Ferb used years ago. Julia accidentally activates it and brings the whole family the Stone Age where they meet their Paleolithic counterparts.