I plead ignorance regarding PHP. But Perl has had remarkable staying power, due IMO to a very active developer community.
I describe Perl as "the type of language that no self-respecting computer science program would ever teach, but that every computer programmer should know." :-)