Re: [PHP] Extension in free pascal - OT

2006-09-21 Thread Thomas Munz
Well, depends. If you wanna create build-in extensions ( as far as i know those works a bit faster ), you have to use C. In case you wanna make a dynamic extension it can work 'Theoretically'. But you need to load the PHP shared headers also so the compiler understand the DLLs as far as i know,

Re: [PHP] Extension in free pascal - OT

2006-09-21 Thread Bronislav Klucka
Extensions are basically dll/so files. There is generally no problem to take dll file written in C and use it in program written in FPS and vice versa (it's all about rewriting function's headers). So my question is, if this is possible generally, can it be done for PHP? Thomas Munz wrote: PHP

Re: [PHP] Extension in free pascal - OT

2006-09-21 Thread Thomas Munz
PHP is written in C. If you want to write a extension, you have to writte it in C. I dont think its possible, except you tranbslate the PHP C code to Pascal and start from scratch there :) So-> no, not possible on Thursday 21 September 2006 11:22, Bronislav Klucka wrote: > Of course I want to w

Re: [PHP] Extension in free pascal - OT

2006-09-21 Thread Bronislav Klucka
Of course I want to write extension for PHP :) but I want to write it in FPC... Brona Thomas Munz wrote: Pascal?? this is a PHP list, you are on the wrong place! on Thursday 21 September 2006 11:12, Bronislav Klucka wrote: Hi, does anybody know how to write extension in FreePascal? Brona

Re: [PHP] Extension in free pascal - OT

2006-09-21 Thread Thomas Munz
Pascal?? this is a PHP list, you are on the wrong place! on Thursday 21 September 2006 11:12, Bronislav Klucka wrote: > Hi, > does anybody know how to write extension in FreePascal? > Brona -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Extension in free pascal

2006-09-21 Thread Bronislav Klucka
Hi, does anybody know how to write extension in FreePascal? Brona -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php