Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30211 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80816 invoked by uid 1010); 17 Jun 2007 16:43:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 80800 invoked from network); 17 Jun 2007 16:43:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jun 2007 16:43:02 -0000 X-Host-Fingerprint: 202.56.7.136 unknown Received: from [202.56.7.136] ([202.56.7.136:12833] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 10/9A-25319-59465764 for ; Sun, 17 Jun 2007 12:43:01 -0400 Message-ID: <10.9A.25319.59465764@pb1.pair.com> To: internals@lists.php.net Reply-To: "muquaddim" References: <00.05.25319.F9955764@pb1.pair.com> Date: Sun, 17 Jun 2007 22:42:51 +0600 Lines: 48 Organization: SUST X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response X-Posted-By: 202.56.7.136 Subject: Re: [PHP-DEV] documentation of php5ts.dll and .NET wrapper From: shiplu.net@gmail.com ("muquaddim") "Tijnema" wrote in message news:d8269d910706170905h7c53fbd4sec26625dfaceda0b@mail.gmail.com... > On 6/17/07, muquaddim 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