Just because nobody's suggested it yet, how about that new Xtensible Markup Language the kids are using these days? Use
XML::Dumper to turn your Perl into XML. PHP can read XML these days, right?
($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print