Is it possible to use PHP in Python without to many bugs?

If there any other way to get PHP into Python besides sticking the PHP in an XSL translation and using SIG?

Thanks,