Re: Writing my own Extension to PHP 5.0

From: Date: Thu, 08 Apr 2004 16:30:06 +0000
Subject: Re: Writing my own Extension to PHP 5.0
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-9005@lists.php.net to get a copy of this message
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" <hyanantha@novell.com> To: <internals@lists.php.net> 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.

« previous php.internals (#9005) next »