RE: [PHP-DEV] Feature request for min() and max()

From: Date: Mon, 20 Nov 2000 17:20:51 +0000
Subject: RE: [PHP-DEV] Feature request for min() and max()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-38638@lists.php.net to get a copy of this message
> I agree with Sterling. > We should output an error because it's a wrong way to call it and you > should make the person attentive to his mistake. Well ... it *could* be a mistake on the part of the end-user, although in my case it was just a feature request. As for Sterling's comment that "you should be sure of your variable types", I thought that PHP is pretty loose with typing anyway, and this wouldn't be a huge problem (heck, min() and max() take lists of scalars too, not just arrays). Anyway, I obviously can't convince you all ... so I'll change my scripts. :) > Please reverse this patch. I never applied it, just posted it here for discussion. - Colin Now ... when will someone look at bug #7503? ;)

« previous php.dev (#38638) next »