Re: Zend API doc again

From: Date: Wed, 28 Jun 2000 12:31:55 +0000
Subject: Re: Zend API doc again
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-22618@lists.php.net to get a copy of this message
CS>> PHP_RINIT_FUNCTION(ext): CS>> Call each time when one of the ext function is called or when a new CS>> php child process is created ? Called on request start. CS>> CS>> PHP_RSHUTDOWN_FUNCTION(ext) CS>> When a child process is killed ? And on request end. CS>> PHP_GINIT_FUNCTION(ext) CS>> ? CS>> CS>> PHP_GSHUTDOWN_FUNCTION(ext) CS>> ? "Global startup". Called on SAPI startup/shutdown. Not clear to me what's difference between MINIT and GINIT. CS>> In php_mysql.c CS>> ZEND_NUM_ARGS() CS>> zend_get_parameters_ex(numarg, [*arg1,*..]) CS>> convert_to_xxx_ex(**arg1) CS>> CS>> In other (eg: php_msql.c by the author of php_mysql.c) CS>> use of ht : CS>> getParameters(ht, numarg, [*arg1,*..] CS>> convert_to_xxx(**arg) CS>> Why these two manner. Is the ht way became old ? May be for _ex is faster, but you cannot change the result. zend_ function is new (PHP 4) thing, you should use them. -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#22618) next »