Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend:
A Dynamic Duo - Perl Inside PHP
Apr 15, 2004 @ 11:57:47

New from Zend is an article that tries to tie two powerful languages together - Perl and PHP. The article describes the Perl extension for PHP. It is intended for developers who use both languages in their projects, or who are migrating from one language to the other. It could be of general interest to other developers.

While there are already Perl interfaces to PHP (such as PHP::Include and PHP::Session), they can't share information between their actual interpreters. The solution? A Perl extension for PHP - one that allows you to create an interface to the Perl interpreter through a standard class structure. They give several examples (9) of how to use this powerful tool in all sorts of situations - everything from simple output all the way up to the ability to use objects in your embedded Perl.

This extension is particulary useful, especially for those making the switch (or just learning) PHP and coming from a Perl world.

tagged:

Link:


Trending Topics: