Pascal and PHP

From Lazarus wiki
Jump to navigationJump to search

If you're a Delphi user, Serge Perevoznyk's PHP4Delphi (http://code.google.com/p/php4delphi/) is everything you'll need for integrating your Pascal and PHP code. PHP4Delphi is even used in CodeGear's Delphi for PHP IDE.

If you're a Lazarus user, a subset of the PHP API for creating PHP extensions (libraries) with Pascal is available as part of the PHP Toolkit. A forum with additional links is here:

http://groups.google.com/group/phptk

With the PHP Toolkit you can also convert your Delphi and Lazarus form design files (.dfm/.lfm) to VCL for PHP files, as well as configure Lazarus for use as a PHP IDE.