Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9005 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68184 invoked by uid 1010); 8 Apr 2004 16:29:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 68030 invoked from network); 8 Apr 2004 16:29:43 -0000 Received: from unknown (HELO mx.thebrainroom.net) (65.200.24.98) by pb1.pair.com with SMTP; 8 Apr 2004 16:29:43 -0000 Received: by mx.thebrainroom.net (Postfix, from userid 517) id C495114880BC; Thu, 8 Apr 2004 09:29:42 -0700 (PDT) Received: from tron (zaneeb.thebrainroom.net [82.133.1.138]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx.thebrainroom.net (Postfix) with SMTP id BBDB8148809B; Thu, 8 Apr 2004 09:29:34 -0700 (PDT) Message-ID: <049301c41d86$c1e2b5a0$8a02a8c0@tron> To: "Ananth Kesari" , References: Date: Thu, 8 Apr 2004 17:30:06 +0100 Organization: The Brain Room Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_30,NEW_DOMAIN_EXTENSIONS,QUOTED_EMAIL_TEXT, REFERENCES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-TBR-Filter: Virus scanned and defanged Subject: Re: [PHP-DEV] Writing my own Extension to PHP 5.0 From: wez@thebrainroom.com ("Wez Furlong") This was changed in PHP 5. Take a look at one of the new PHP 5 OO extensions; sqlite, com_dotnet, mysqli etc. for more hints. There is no documentation yet. --Wez. ----- Original Message ----- From: "Ananth Kesari" To: Sent: Thursday, April 08, 2004 4:05 PM Subject: [PHP-DEV] Writing my own Extension to PHP 5.0 > > The zend_internal_function structure (in zend_compile.h) has > void (*handler)(INTERNAL_FUNCTION_PARAMETERS); as an element. > This makes it mandatory that all the above three functions > (invoke_method, > get_property and set_property) have the same signature which is > INTERNAL_FUNCTION_PARAMETERS. > > My question is, how do I get the zend_property_reference and zval > from this like we had in PHP 4.2.3? Or is it that there is another > approach > in PHP 5.0 without using them? It will really help me if you could let > me > know how to do this or point me to a documentation or a FAQ on this.