Re: is this a bug in php?

From: Date: Wed, 13 Dec 2000 05:36:49 +0000
Subject: Re: is this a bug in php?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-30027@lists.php.net to get a copy of this message
On Tue, 12 Dec 2000, Matthew Ballard wrote: > What version of PHP are you using? I tried it and it works fine in both > PHP4.0b2 and 4.0.3pl1 (returning 23). then it must have been fixed. i have php 3.0.16 > Matthew > > At 12:11 PM 12/12/2000 +0200, you wrote: > ><? echo max(23, "10"); ?> > >i expected this to write 23, but it writes 10. > >isnt php supposed to convert both arguments to integers? > >

« previous php.general (#30027) next »