At 07:57 AM 8/5/2001 +0200, [EMAIL PROTECTED] wrote:
>Hi,
>
>Some PHPAPI function demand a char* and int when they want a string, others
>a zval which is expected to be IS_STRING.
>
>Which one is preferred?

I think in any case the function should accept a char * and a length so 
that it'll be binary safe. It doesn't really matter too much if it's a zval 
or C types. Maybe C-types would be more general.

Andi


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to