Re: documentation of php5ts.dll and .NET wrapper
| From: | muquaddim | Date: | Sun, 17 Jun 2007 16:42:51 +0000 |
| Subject: | Re: documentation of php5ts.dll and .NET wrapper | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30211@lists.php.net to get a copy of this message | ||
"Tijnema" <tijnema@gmail.com> wrote in message
news:d8269d910706170905h7c53fbd4sec26625dfaceda0b@mail.gmail.com...
> On 6/17/07, muquaddim <shiplu.net@gmail.com> wrote:
>> Hi,
>> I have use dumpbin to get the method names of php5ts.dll file. I get many
>> names.
>> 2 of these methods are,
>> "php_execute_script"
>> "php_execute_simple_script"
>>
>> I guess these are the methods that are responsible for executing php
>> source
>> (.php) files.
>> now I need to know, what are the parameter of these methods. How can I
>> get
>> the documenttation on parameters.
>> If I get this I could have make a .NET wrapper.
>> Thanks
>
> Just take a look at the PHP Source code, the functions are well
> described there... :)
>
> Tijnema
Yes I have been watching the source for long time. But no hope. There is no
comments on the source.
In the /main/main.c file I found this,
PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC)
here TSRMLS_DC is defined in /Zend/zend_language_scanner.c file as
-------------------------------------------------------------
#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
#endif
-------------------------------------------------------------
this is contitional compilation. thats why I dont' know where the
php_execute_script method int php5ts.dll has the last parameter.
I think you understand.
The main problem with the last parameter