Re: [PHP-DEV] Re: documentation of php5ts.dll and .NET wrapper

2007-06-28 Thread Stanislav Malyshev
So, when would it ever be "right" to use the _C version? When you have function that its one (possible) argument is TRSM pointer. -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Develop

Re: [PHP-DEV] Re: documentation of php5ts.dll and .NET wrapper

2007-06-28 Thread Richard Lynch
On Tue, June 19, 2007 3:38 am, Richard Quadling wrote: > On 19/06/07, Johannes Schlüter <[EMAIL PROTECTED]> wrote: >> Sara has a nice article about TSRM: >> http://blog.libssh2.org/index.php?/archives/22-What-the-heck-is-TSRMLS_CC-anyway.html >> and since you're using php5ts.dll you have zts enabl

Re: [PHP-DEV] Re: documentation of php5ts.dll and .NET wrapper

2007-06-19 Thread muquaddim
So I have to write my own Sapi module in PHP way :-( It looks like too tough for me. And its the right way. My intention is to implement a simple funcion int execute(char *filename); //filename is a php file For I have to write a sapi module. No matter I'll at least try it. Now the big question.

Re: [PHP-DEV] Re: documentation of php5ts.dll and .NET wrapper

2007-06-19 Thread Gwynne Raskind
On Jun 19, 2007, at 4:38 AM, Richard Quadling wrote: Sara has a nice article about TSRM: http://blog.libssh2.org/index.php?/archives/22-What-the-heck-is- TSRMLS_CC-anyway.html and since you're using php5ts.dll you have zts enabled. Why have ... TSRMLS_CC when ... , TSRMLS_C actually looks

Re: [PHP-DEV] Re: documentation of php5ts.dll and .NET wrapper

2007-06-19 Thread Stut
Richard Quadling wrote: On 19/06/07, Johannes Schlüter <[EMAIL PROTECTED]> wrote: Sara has a nice article about TSRM: http://blog.libssh2.org/index.php?/archives/22-What-the-heck-is-TSRMLS_CC-anyway.html and since you're using php5ts.dll you have zts enabled. Why have ... TSRMLS_CC when ...

Re: [PHP-DEV] Re: documentation of php5ts.dll and .NET wrapper

2007-06-19 Thread Richard Quadling
On 19/06/07, Johannes Schlüter <[EMAIL PROTECTED]> wrote: Sara has a nice article about TSRM: http://blog.libssh2.org/index.php?/archives/22-What-the-heck-is-TSRMLS_CC-anyway.html and since you're using php5ts.dll you have zts enabled. Why have ... TSRMLS_CC when ... , TSRMLS_C actually lo

Re: [PHP-DEV] Re: documentation of php5ts.dll and .NET wrapper

2007-06-19 Thread Johannes Schlüter
Hi again, On Mon, 2007-06-18 at 18:12 -0400, muquaddim wrote: > I think the configure option "--disable-zts" will work on the following > lines. > > #ifdef ZTS > #define TSRMLS_D void ***tsrm_ls > #define TSRMLS_DC , TSRMLS_D > #define TSRMLS_C tsrm_ls > #define TSRMLS_CC , TSRMLS_C > #else > #d

[PHP-DEV] Re: documentation of php5ts.dll and .NET wrapper

2007-06-18 Thread muquaddim
I think the configure option "--disable-zts" will work on the following lines. #ifdef ZTS #define TSRMLS_D void ***tsrm_ls #define TSRMLS_DC , TSRMLS_D #define TSRMLS_C tsrm_ls #define TSRMLS_CC , TSRMLS_C #else #define TSRMLS_D #define TSRMLS_DC #define TSRMLS_C #define TSRMLS_CC In that case m