<P> The following is a list of episodes from the Disney Channel Original Series Phineas and Ferb, which ran from August 17, 2007 to June 12, 2015 . The show ended with a total of 222 episodes, ending as the longest Disney Channel series ever at 7 years and 10 months . In addition, the show aired one TV film and a stand - alone special . </P> <Table> <Tr> <Th_colspan="2"> Season </Th> <Th> Episodes </Th> <Th_colspan="2"> Originally aired </Th> </Tr> <Tr> <Th> First aired </Th> <Th> Last aired </Th> </Tr> <Tr> <Td> </Td> <Td> </Td> <Td> 47 </Td> <Td> August 17, 2007 </Td> <Td> February 18, 2009 </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Td> 65 </Td> <Td> February 19, 2009 </Td> <Td> February 11, 2011 </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Td> 62 </Td> <Td> March 4, 2011 </Td> <Td> November 30, 2012 </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Td> 48 </Td> <Td> December 7, 2012 </Td> <Td> June 12, 2015 </Td> </Tr> <Tr> <Td> </Td> <Td_colspan="2"> Special </Td> <Td_colspan="3"> November 9, 2015 </Td> </Tr> <Tr> <Td> </Td> <Td_colspan="2"> Movie </Td> <Td_colspan="3"> August 5, 2011 </Td> </Tr> </Table> <Tr> <Th_colspan="2"> Season </Th> <Th> Episodes </Th> <Th_colspan="2"> Originally aired </Th> </Tr>

How many seasons of phineas and ferb were there
find me the text answering this question