What PHP ↔ Perl interface or bindings do you recommend?
I need to be able to run Perl functions located in a Perl file from a PHP script and get the return values.
I've already found the PECL "perl" package but I'm not sure how reliable it is since the last Subversion activity was ~12 months ago.
I've also found the Perl module PHP::Interpreter that is supposed to work both ways according to an almost 3 year old tutorial, Integrating PHP and Perl.
I would really appreciate it if you can recommend (or not) either of those 2 options or if you've got a better option that I haven't seen yet.
Never used any of those, but they look interesting..
Take a look at Gearman as well.. more overhead in systems like these but you get other cool stuff :) Guess it depends on your needs ..
Your best bet would probably be Thrift. It connects those languages (and a lot more) between each other. The only downside is requiring a network server to run and receive those requests on either side.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With