PHP ↔ Perl Interface or Bindings

Which PHP interface or Perl bindings do you recommend?

I need to be able to run Perl functions located in a Perl file with a PHP script and get the return values.

I already found the PECL package "perl" , but I'm not sure how reliable it is, since the last Subversion activity was ~ 12 months ago.

I also found the Perl module PHP :: Interpreter , which should work in both directions according to an almost three-year-old tutorial, PHP and Perl Integration .

I would really appreciate if you would recommend (or not) any of these two options, or if you have a better option that I haven't seen yet.

+5
source share
2 answers

Never used any of them, but they look interesting.

Take a look at Gearman , as well as more overhead on systems like you, but you have other interesting things :) Guess that it depends on your needs.

+5
source

Thrift is best . It connects these languages ​​(and much more) with each other. The only drawback is the requirement to start the network server and receive these requests from both sides.

+4
source

All Articles