background preloader

Web

Facebook Twitter

Search Engine Journal - Marketing News, Interviews and How-to Guides. PiP - Python in PHP. Both Python and PHP are what has become known as interpretted scripting languages. Each has achieved substantial popularity due primarily to their ability to facilitate rapid prototyping. As both a Python and PHP enthusiast, I wanted to bring these two systems together to promote even greater and more interesting development opportunities.

To that end, I've written a Python extension for PHP. In short, this extensions allows the Python interpretter to be embedded inside of PHP (think of PHP as the parent language with Python as its child). What exists right now is primarily a "proof of concept" implementation. The Python extension is available from its PECL package page. Slides from my presentations at the 2002 International PHP Conference are available.

Examples Here's an example of what it can do at the moment: 1. Result test 1 50 60.4 test 2.208 test 2. <? 1113 a = 1, b = bar 435 987 987 987 3. <? As you can see, these current examples are fairly crude. Distributions Building with PEAR. Raphaël—JavaScript Library. Mozilla Thimble. Developer Network. Dive Into HTML5.