On Sat, 19 May 2001, Faisal Nasim wrote:

> Hi,
>
> How do you return an unsigned long value from RETURN_LONG?
> I need to return a value as big as 4294967295 which a 'long'
> cannot hold, setting return_vale -> type = IS_LONG and
> value.lval to the number doesn't help as lval is a 'long' and not
> unsigned long.
>
> Maybe I should return it as a string?

As PHP only supports unsigned longs, that would be the only option.

regards,

Derick

---------------------------------------------------------------------
        PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
             SRM: Site Resource Manager - www.vl-srm.net
---------------------------------------------------------------------


-- 
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