I was reading through Facebook's hiring now job listings and I saw this...
*  Competency in Shell, PHP, Perl or Python. C is a plus
This sparked a question in my mind, is it possible to use (for example) python and PHP together?
As in... I write a function in PHP to read a MySQL database and cut the data read into raw string form.
I then use python to use this PHP function to perform operations on this data.
The part where I say "use python to use this PHP function" is this possible?
If so, how? (a small code example would be awesome)
First, Facebook is a large company. They have many different software projects, apart from the site itself, and some of them are probably written in languages different from the company's mainstream. 
Second, teaching a good $lang1 programmer $lang2's syntax takes two weeks, while teaching a bad $lang2 programmer how to program takes life.
Python PHP and Perl being used together?