Re: Re: ccvs extension source
| From: | Zeev Suraski | Date: | Thu, 10 Aug 2000 21:07:30 +0000 |
| Subject: | Re: Re: ccvs extension source | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-28489@lists.php.net to get a copy of this message | ||
Just a side note - given the BSDish nature of the PHP license, the extension code is already available for everyone who wants it, as a part of PHP or standalone...
Zeev
At 23:54 10/08/2000, Andi Gutmans wrote:
At 04:22 PM 8/10/00 -0400, Brendan W. McAdams wrote:-- Zeev Suraski <zeev@zend.com> http://www.zend.com/On this note, is zval the proper construct for ext/ modules or is it pval ?pval was kept around for backwards compatibility with PHP 3. I think most PHP module developers prefer using zval because it indicates that the code is really aware of the fact that the PHP 4 zval isn't exactly the same as the PHP 3 pval. But it is a matter of taste and right now you can go both ways. Most of the PHP API has been kept around (see php3_compat.h) in order to allow for a smoother move to PHP 4. I think the main motivation to use the Zend API functions is if some open-source project (for example possibly MySQL sometime in the future) where to use the Zend Engine as its scripting engine that project with permission from the PHP Group could use some PHP extension modules and not have to write their own. In this case using the Zend API makes more sense. But this is really not important until something like this comes up. Right now do what you prefer. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/ -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net