note 101057 deleted from function.min by danbrown

From: Date: Tue, 23 Nov 2010 21:00:14 +0000
Subject: note 101057 deleted from function.min by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-174296@lists.php.net to get a copy of this message
Note Submitter: php at keith tyler dot com ---- If NAN is the first argument to min(), the second argument will always be returned. If NAN is the second argument, NAN will always be returned. The relationship is the same but inverted for max(). <?php // \n's skipped for brevity print max(0,NAN); print max(NAN,0); print min(0,NAN); print min(NAN,0); ?> Returns: 0 NAN NAN 0

« previous php.notes (#174296) next »