note 111237 added to function.max

From: Date: Tue, 29 Jan 2013 20:08:59 +0000
Subject: note 111237 added to function.max
Groups: php.notes 
Request: Send a blank email to php-notes+get-193428@lists.php.net to get a copy of this message
Remember that -INF is by definition less than any number (including doubles). This is useful for ensuring that an array passed to max() has at least one element (the function doesn't like empty arrays), and for keeping running maxima (it provides a starting value that is guaranteed to be replaced by the first value in the sequence). ---- Server IP: 69.147.83.199 Probable Submitter: 122.57.198.66 ---- Manual Page -- http://php.net/manual/en/function.max.php Edit -- https://master.php.net/note/edit/111237 Del: integrated -- https://master.php.net/note/delete/111237/integrated Del: useless -- https://master.php.net/note/delete/111237/useless Del: bad code -- https://master.php.net/note/delete/111237/bad+code Del: spam -- https://master.php.net/note/delete/111237/spam Del: non-english -- https://master.php.net/note/delete/111237/non-english Del: in docs -- https://master.php.net/note/delete/111237/in+docs Del: other reasons-- https://master.php.net/note/delete/111237 Reject -- https://master.php.net/note/reject/111237 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#193428) next »