Date: 05/19/01
- Next message: Mike Robinson: "RE: [PHP-DEV] Re: [PHP-QA] PHP 4.0.6RC1 ready for testing"
- Previous message: jmoore <email protected>: "[PHP-DEV] Bug #10969 Updated: apache don't start, cannot load php4apache.dll"
- In reply to: Sean R. Bright: "RE: [PHP-DEV] returning an unsigned long from RETURN_*"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, 19 May 2001, Sean R. Bright wrote:
> I think you mean that PHP only supports signed longs...
Indeed, I was on crack again :)
Derick
>
> Sean
>
> > -----Original Message-----
> > From: derick <email protected> [mailto:derick <email protected>]
> > Sent: Saturday, May 19, 2001 6:02 AM
> > To: Faisal Nasim
> > Cc: php-dev <email protected>
> > Subject: Re: [PHP-DEV] returning an unsigned long from RETURN_*
> >
> >
> > 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 - derick <email protected>
> > SRM: Site Resource Manager - www.vl-srm.net
> > ---------------------------------------------------------------------
> >
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> > For additional commands, e-mail: php-dev-help <email protected>
> > To contact the list administrators, e-mail:
> > php-list-admin <email protected>
> >
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
Derick Rethans
---------------------------------------------------------------------
PHP: Scripting the Web - www.php.net - derick <email protected>
SRM: Site Resource Manager - www.vl-srm.net
---------------------------------------------------------------------
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Mike Robinson: "RE: [PHP-DEV] Re: [PHP-QA] PHP 4.0.6RC1 ready for testing"
- Previous message: jmoore <email protected>: "[PHP-DEV] Bug #10969 Updated: apache don't start, cannot load php4apache.dll"
- In reply to: Sean R. Bright: "RE: [PHP-DEV] returning an unsigned long from RETURN_*"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

